how do in include ddraw.lib to my game adding #include <ddraw.lib> isn't working im using vc++6
This is a discussion on how do i include ddraw.lib within the Game Programming forums, part of the General Programming Boards category; 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!
Gays can't love like real people
entropysink.com -- because arses weren't designed for running websites.
okay thanks