Original Post
I cannot get DirectX to work, I have the SDK (for directx 7) and Visual C++ 6. I have found numerous tutorials on how to set up DirectX and all they get me is this: "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\MyProjects\Test\Test.cpp(13) : error C2146: syntax error : missing '';'' before identifier ''lpDD''" and another one about missing type for LPDIRECTDRAW7. I have included ddraw.h, added the library files (dxguid.lib and ddraw.lib) and set the directories to the right ones, and yes I installed the SDK right because I have done it three times and it does the exact same thing every time. I can''t get the samples to work, I''ve tried just setting up a simple program from the tutorials, and this is getting very annoying, can anyone help? thanks. (and don''t even try to tell me to get a book, I''m not spending $20 on something I can''t even get to compile, once I get it working so it will at least compile something I might buy one)
-=Obfuse=-