how do in include ddraw.lib to my game adding #include <ddraw.lib> isn't working im using vc++6
how do in include ddraw.lib to my game adding #include <ddraw.lib> isn't working im using vc++6
Well, you dont 'include' library files (.lib) you link them to your program...so if your running MSVC++ then go to project>settings>link>object/library modules - and add ddraw.lib then in your project use inlcude <ddraw.h> or whatever the header is as i dont use directX...cheers
well, #pragma varies from compiler to compiler, but try
#pragma comment(lib, "whatever.lib") //no semicolon!
okay thanks