I used to use Borland C++, I liked it, things worked, etc. Well I got Visual C++ 6.0 recently, and I really really really like it. But I can't get directx programs to compile correctly. Here's what I do. I create a new workspace and add all the code. Then I go into Tools->Options, click the directories tab, and set both the Include files and Library files for directx. Next I go into Project->Settings and click on the link tab. I then enter in the names of the proper libraries to the Objects/library modules text box. When I try to compile, however, I get errors like:
error C2146: syntax error : missing ';' before identifier 'ddraw'
error C2501: 'LPDIRECTDRAW4' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found
Please help me solve this problem.