|
From: Brian D. <bri...@ms...> - 2004-05-29 01:08:14
|
You have to link the GDI library in. If it's a standalone/non- project file, then go to Compiler Options and add -lgdi32 to the link command line. If it's a project, go to Project Options->Parameters and add -lgdi32 to the Linker. Thanks for the clarification. Everything works fine...so far! Brian In general, if you have a function or functions that aren't getting linked in, you can search for the function names in the lib directory. The file will be named something like libgdi32.a. You include that into the linker by adding -l and then stripping of the lib and the '.a'. BTW, if you have Windows XP, then your search function is "broken". Read this: http://www.pcmag.com/article2/0,4149,1202777,00.asp HTH. Watson Davis |