Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DevMode
Message
 
To
07/01/2000 09:08:58
Razvan Alexandru
Soft Team Solutions Srl
Bucharest, Romania
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00314433
Message ID:
00314440
Views:
31
Hi Razvan,

First, Struct.zip is Christof Lange's work, not mine. I'm sure that he'll be glad to know you find it useful.

I think that the problem, however is in the declarations. Below is how I'd declare the functions OpenPrinter and DocumentProperties:
DECLARE OpenPrinter IN Winspool.drv;
  STRING @pPrinterName,;
  INTEGER @phPrinter, STRING @pDefault
* I'd pass 0 to indicate a null pointer to pDefault, but that's just me
DECLARE INTEGER DocumentProperties IN Winspool.drv;
  INTEGER hWnd, INTEGER hPrinter,;
  STRING @pDeviceName, STRING @pDevModeOutput,;
  STRING @pDevModeInput, INTEGER fMode
I think that may be the source of your problem.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform