View Full Version : how do i include ddraw.lib
Unregistered
09-22-2001, 02:01 PM
how do in include ddraw.lib to my game adding #include <ddraw.lib> isn't working im using vc++6
dirkduck
09-22-2001, 04:16 PM
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
-KEN-
09-22-2001, 10:01 PM
well, #pragma varies from compiler to compiler, but try
#pragma comment(lib, "whatever.lib") //no semicolon!
Unregistered
09-23-2001, 01:33 PM
okay thanks
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.