Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter as structs
Message
De
18/05/2001 13:30:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00508835
Message ID:
00508862
Vues:
21
>Is posible to pass a parameter to an api function from VFP when the parameter is a structure?
>
>Thanks everybody.
>Mario Morales

Mario,
Depending on the structure, you can simulate it using a character string. Some structures have pointers to other structures and these are more difficult. I've used to Ed Rauh's CLSHEAP and Christof Lange's STRUCT classes to help out with these situations. Both are availble from the Download section.

What structure are you trying to pass and what function are trying to pass it to?
----------------My Answer------->>
Hi Larry;

i was traying to pass this structure:
Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type

for the SetSystemTime function, but only to test..
but i realy want to use other structures.

i saw some example about how to obtain the structure like a string how you said, but nothing about to create the string to pass it.

i´ll see the download section.

Thanks,
Mario Morales
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform