Author Topic: Win32 app: help needed calling win32 function…  (Read 3352 times)

JoseB

  • Guest
Win32 app: help needed calling win32 function…
« 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.
« Last Edit: December 18, 2010, 05:41:45 pm by MortenMacFly »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Win32 app: help needed calling win32 function…
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ