11-17-2021 02:13 AM
Hi,
I am trying to enumerate windows printers with EnumPrinters function that is included in winspool.h. The compilation ends without errors, but I receive a link error:
error: Undefined symbol '_EnumPrintersA@28 referenced in "my_prorgam_name.obj"
Suggestions will be appreciated
Solved! Go to Solution.
11-17-2021 05:35 AM
Hi
You have to include the library file associated with winspool.h. I guess it is winspool.lib, but you find what lib to include in the documentation.
11-17-2021 06:01 AM
thank you, I shall try