Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API CALLS
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00002121
Message ID:
00002125
Vues:
49
>As we all know by now sys(13) and printstatus() do
>not work.
>I'm trying to make a work around by making a call
>to the Windows GetPrinter()
>function.
>I know that the info I (We ALL I guess) want is
>stuck in the Print_info_2 "struct".
>I'm having nightmares by now as I don't see
>anymore how to pass this
>particular struct of LPTSTR's, a Pointer to
>another struct (DEVMODE) and DWORD's to the Win95
>GetPrinter() function.
>Anyone who has experience with this one ??
>
>Let me know ... Thanks in advance
>
>Boudewijn Lutgerink
>Reiki@WorldAccess.nl
>
>

Boudewijn

Remember a structure is just data segments contained in a variable. Return the var by reference (@MyVar) & then procedd to break down its individual data parts by data lengths. You can 'substr()' each segment out of the returned data.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform