X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: tom albrecht on November 28, 2005, 10:15:03 PM

Title: Sample C++ apps and VS Express 2005
Post by: tom albrecht on November 28, 2005, 10:15:03 PM
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 ...
Title: Re: Sample C++ apps and VS Express 2005
Post by: tom albrecht on November 28, 2005, 11:07:03 PM
Oops.  My fault.  I thought the PDK was
installed with  VS Express.  
Title: Re: Sample C++ apps and VS Express 2005
Post by: st on December 17, 2005, 06:40:47 AM
Hi,

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

Thanks a lot!

Title: Re: Sample C++ apps and VS Express 2005
Post by: 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
Title: Re: Sample C++ apps and VS Express 2005
Post by: mslboise on June 11, 2007, 04:05:21 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