General information
Category:
Coding, syntax & commands
You undesand me right. I try to use those command in DLL in order to get Printer DC & I get error message - 'Unexpected error ...' (I do not undestand why) So I try to find another way doing this. Here is the code that I use:
DECLARE INTEGER CreateDC IN Win32API AS CreatePrinterDC STRING, STRING, STRING, STRING
---> Here I got error
lcPrinter = SET('PRINTER', 3)
---> Here I got error
*lcPrinter = SYS(2001,'PRINTER', 3)
IF !EMPTY(lcPrinter)
lhDC = INT(CreatePrinterDC('WINSPOOL', lcPrinter, NULL, NULL))
ENDIF
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only