Search:

Type: Posts; User: IKMOADBM

Search: Search took 0.00 seconds.

  1. shouldn't it be better to use something like...

    shouldn't it be better to
    use something like this



    DWORD cchPrinterName ;
    if (!GetDefaultPrinter(NULL, &cchPrinterName))
    {
    if(::GetLastError() !=...
  2. i does compile but when i execute the program...

    i does compile but when i execute the program freezes.
    i never get the default printer returned. :(

    anybody got any ideas
  3. ow dang, that could very well be it. i will...

    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
  4. no i added system32\winspool.drv or winspool.a...

    no i added system32\winspool.drv
    or winspool.a that was provided with dev-c++

    James
  5. GetDefaultPrinterA undeclared(first us this function

    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)
  6. thanks, i think i solved it now

    thanks,

    i think i solved it now
  7. [Linker error] undefined reference to `EnumPrintersA@28'

    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...
Results 1 to 7 of 7