shouldn't it be better to
use something like this
DWORD cchPrinterName ;
if (!GetDefaultPrinter(NULL, &cchPrinterName))
{
if(::GetLastError() !=...
Type: Posts; User: IKMOADBM
shouldn't it be better to
use something like this
DWORD cchPrinterName ;
if (!GetDefaultPrinter(NULL, &cchPrinterName))
{
if(::GetLastError() !=...
i does compile but when i execute the program freezes.
i never get the default printer returned. :(
anybody got any ideas
ow dang, that could very well be it.
i will check this first thing in the morning
i will let you know the outcome :p
no i added system32\winspool.drv
or winspool.a that was provided with dev-c++
James
hey all
once again i need your technical expertise.
i am using DEV-C++ 4.9.9.2
and when i compile my dll i get the following Error
GetdefaultPrinerA undeclared (first ust this function)
thanks,
i think i solved it now
Hey all,
i am new to c++ but there is something that eludes me.
i am using Dev-C++ 4.9.9.2 and my dll doesn't want to compile.
for some odd reason i have an undefined reference to...