M
Mike C#
Hi all,
Running into a little problem. I wrote a small app on VC++ 7.1 that calls
the GetDefaultPrinter() function. Now I have to "downgrade" it to VC++ 6,
but every time I compile I get the following error:
--------------------Configuration: enumprinters - Win32
Debug--------------------
Compiling...
CPrinters.cpp
C:\Store_BN_2\INSTORE\Bnutils\bin\enumprinters\CPrinters.cpp(67) : error
C2065: 'GetDefaultPrinter' : undeclared identifier
Error executing cl.exe.
enumprinters.dll - 1 error(s), 0 warning(s)
I'm including windows.h, winspool.h and have a #pragma comment(lib,
"Winspool.lib") line as well. Anyone have any ideas what else I should try?
Thanks.
Running into a little problem. I wrote a small app on VC++ 7.1 that calls
the GetDefaultPrinter() function. Now I have to "downgrade" it to VC++ 6,
but every time I compile I get the following error:
--------------------Configuration: enumprinters - Win32
Debug--------------------
Compiling...
CPrinters.cpp
C:\Store_BN_2\INSTORE\Bnutils\bin\enumprinters\CPrinters.cpp(67) : error
C2065: 'GetDefaultPrinter' : undeclared identifier
Error executing cl.exe.
enumprinters.dll - 1 error(s), 0 warning(s)
I'm including windows.h, winspool.h and have a #pragma comment(lib,
"Winspool.lib") line as well. Anyone have any ideas what else I should try?
Thanks.