// JP opened flex table

Click to See Complete Forum and Search --> : Direct X 7 SDK errors... (please help)


Java_Hunter
March 29th, 2000, 12:13 PM
I have had the DX7 SKD for a while now but for some reason the Direct draw part of it dosen't work anymore.

I get compiling errors the first of which is something like this "undefined identifier IDirectdraw7".

I later found out that I had the old ddraw.h file in my include folder of VC++ so I updated it. The only problem is that that didn't fix it. I don't get the hundred someodd errors that I got before but I do get 3 linking errors. One deals with "IDD_IDirectdraw7" or something and the other is "something direct with an @ in it" I don't remember it specifically.

Can someone please tell me what I am doing wrong.

Thankyou.

Stege
April 6th, 2000, 07:45 AM
Hi

Since you've worked with DirectX prior Version 7 you not only will have to update the included header but the library, too !
The header just defines symbols which are resolved by the linker and the linker needs the correct lib file in order to work properly.
Just try changing the lib file under MSVC's project settings...
be sure that your dev studio's directory settings are configured for the new SDK

Anish Dave
April 11th, 2000, 11:58 AM
In Visual C Project settings, prepend the directory search path for include files AND lib files to point to dx7sdk directories. Make sure you prepend, not append, as the existing path points to the dx5 or dx6 sdk (which comes with VC6).

//JP added flex table