Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetDefaultPrinter Problem
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
GetDefaultPrinter Problem
Divers
Thread ID:
01131682
Message ID:
01131682
Vues:
71
The code below works fine under Xp but gives an error under 98. Error 1754 - Cannot find entry point "name" in the DLL
Declare GetDefaultPrinter In winspool.drv String @ cPrtName, Integer @ nBuffLength
cPrtName = Space(255)
If GetDefaultPrinter(@cPrtName, Len(cPrtName)) = .T.
	lcPrinter = Substr(cPrtName, 1, Len(Alltrim(cPrtName)) - 1)
Endif
Regards, Jitendra Shahani
Korect Business
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform