Sample C++ apps and VS Express 2005

Started by tom albrecht, November 28, 2005, 10:15:03 PM

Previous topic - Next topic

tom albrecht

Is there a version of the SDK that will work
with the new Visual Studio Express 2005
available from Microsoft?  The projects
successfully import in the new VS, but when
you try to build you get an error:

c:\program files\microsoft visual studio
8\vc\include\comdef.h(24) : fatal error
C1083: Cannot open include file: 'ole2.h': No
such file or directory

Which seems to be caused by:

#import "progid:X10.ActiveHome"

Any thoughts?

TIA ...

tom albrecht

Oops.  My fault.  I thought the PDK was
installed with  VS Express.  

st

Hi,

none of the samples compiles with my Visual
C++ Express 2005. How did you get them to work?

Thanks a lot!


tom albrecht

Install VS Express, the Microsoft PDK, and
the ActiveHome SDK.  I think you need to run
the ActiveHome SDK to invoke the service
(ahscript_setup.exe).   Import the sample
command project into VS Express.  You will
need to modify the project properties to
point to the include and lib files from the PDK.

If you need details let me know.

Tom

mslboise

#4
Quote from: tom albrecht on December 20, 2005, 09:19:42 PM
Install VS Express, the Microsoft PDK, and
the ActiveHome SDK.  I think you need to run
the ActiveHome SDK to invoke the service
(ahscript_setup.exe).   Import the sample
command project into VS Express.  You will
need to modify the project properties to
point to the include and lib files from the PDK.

If you need details let me know.

Tom

Can someone give me a clue as to what the PDK is and where I can download it?

A quick search on Microsoft and I find several PDK:  Partner Development Kit, Peripheral Development Kit,  Preliminary Developers Kit, etc.

Could the PDK be the Platform SDK?  If so, I followed the directions given here:  http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx.


I still get this fail message:

c:\x10_examples\ahcview\stdafx.h(18) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory


Thanks,
Mike

SMF spam blocked by CleanTalk