GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 10-Jun-2005, 11:39
WillyWonka WillyWonka is offline
New Member
 
Join Date: Jun 2005
Posts: 1
WillyWonka is on a distinguished road

Creating an ATL ActiveX control that uses DirectX 8


I'm trying to create an ATL ActiveX control which uses DirectX 8 but I can't get it to compile.

Using the new project wizard, I created a new ATL Project. Then I copied DirectX8 into the projects folder. In the Projects properties dialog box, I told VS to look for additional includes in the DirectX8 folder. When I try to compile I get this error every time:

Code:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ExDisp.h(1119): error C2061: syntax error : identifier 'SHANDLE_PTR' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ExDisp.h(1634): error C2061: syntax error : identifier 'SHANDLE_PTR'

Does anyone know how to do this properly?
 
 

Recent GIDBlogWelcome to Baghdad by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[winapi] edit control is lying to me... ubergeek C Programming Language 8 15-May-2005 18:02
How to redirect mouse clicks to an ActiveX control? skruss MS Visual C++ / MFC Forum 0 10-Feb-2005 13:17
Combobox on ActiveX Control VC++ escalope MS Visual C++ / MFC Forum 0 05-Jan-2005 07:30
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 03:38
How to let Enter-key-press message goes to ActiveX control on dialog Yuri MS Visual C++ / MFC Forum 3 08-Sep-2004 07:40

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:06.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.