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:
00002389
Vues:
41
>Boudewijn

>

>Something got messed up in your message as you can

>see! Try again.

>

>Tom

>

>>>>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
OK here we go again.
What I was saying is that I already got some info (via product support here in holland) on how to pass a struct of simple dwords
to a Windows-function, and how to break it down to pieces to get some info.
However the struct of the Windows GetPrinter() function is quite a bit more complicated.
It has Strings,Dwords AND pointers to another struct. (DEVMODE).
I don't see how to pass it.

Hope you can give
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform