Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: JoseB on December 18, 2010, 04:51:32 pm

Title: Win32 app: help needed calling win32 function…
Post by: JoseB on December 18, 2010, 04:51:32 pm
Hi,
I am trying to make a raw printer application (windows7, Code::Blocks 10.05 rev 6283). I created a new win32 application, dialog based and I created a new class when I plan to implement all the functionality. I included the #include <winspool.h>  and a reference to the winspool library. When I compile it says that it does not knows the GetDefaultPrinterA function, which is the function I need to initiaiza printer.. Please, find the project in the attach and help me solve this compiler error.
Thanks a lot!

JoseB

[Edit]: Removed attachement.
Title: Re: Win32 app: help needed calling win32 function…
Post by: MortenMacFly on December 18, 2010, 05:41:09 pm
help me solve this compiler error.
This is not a compiler form, sorry. please ask in a C/C++ forum or a forum related to your compiler. Topic locked.