G
Guest
This might be an extremely dumb question; I'm new to Visual C++, and am trying to use the simple Spooler API, OpenPrinter, but when I try to compile my source file, it says OpenPrinter is an undeclared identifier. Here's how I'm trying to use it
HANDLE newPrinter = NULL
BOOL op = OpenPrinter(ps09, &newPrinter, NULL)
Now, as far as I'm concerned there should be nothing wrong with that code, but does anyone else know what might be the problem? I'm using Visual C++ 6.0 on Windows XP. Thanks
HANDLE newPrinter = NULL
BOOL op = OpenPrinter(ps09, &newPrinter, NULL)
Now, as far as I'm concerned there should be nothing wrong with that code, but does anyone else know what might be the problem? I'm using Visual C++ 6.0 on Windows XP. Thanks