Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass an array by reference to DeviceCapabilities API?
Message
De
29/03/2000 07:38:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
How to pass an array by reference to DeviceCapabilities API?
Divers
Thread ID:
00351940
Message ID:
00351940
Vues:
76
We have the following situation: our program needs to set another printer as the default printer, with a particular user defined paper. Then, we came back to the original default printer. We maneged to do it in a Win95 environment. Now, we're changing to WinNT workstations, with both Win95 and WinNT spoolers. What happens?? The program is not getting the default paper size.

We're trying to use the DeviceCapabilities API (winspool.drv) to determine with papers are available form a printer driver, and after this we must set the correct paper size.

But... To use this API, we need to send an array by reference! How can we do it in FOX?

PS. Is there any difference between using the DECLARE statement and the old Regfn32 in FoxTools.fll? It works only with the second one.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform