Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DevMode
Message
 
À
07/01/2000 09:08:58
Razvan Alexandru
Soft Team Solutions Srl
Bucharest, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00314433
Message ID:
00314440
Vues:
30
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform