Please login or register.

Login with username, password and session length

Author Topic: Sample C++ apps and VS Express 2005  (Read 14522 times)

tom albrecht

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Sample C++ apps and VS Express 2005
« 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 ...
Logged

tom albrecht

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Sample C++ apps and VS Express 2005
« Reply #1 on: November 28, 2005, 11:07:03 PM »

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

st

  • Guest
Re: Sample C++ apps and VS Express 2005
« Reply #2 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!

Logged

tom albrecht

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Sample C++ apps and VS Express 2005
« Reply #3 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
Logged

mslboise

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Re: Sample C++ apps and VS Express 2005
« Reply #4 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
« Last Edit: June 11, 2007, 06:21:29 PM by mslboise »
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.