Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating specialized data types for API calls
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Creating specialized data types for API calls
Divers
Thread ID:
00601921
Message ID:
00601921
Vues:
48
If I wanted to call the Windows API function CreateDirectory, I would need to pass a variable of type SECURITY_ATTRIBUTES as one of the parameters. Now in C I would typically do a TYPEDEF to define a structure consisting of three elements: a long typically called nLength, a long pointer to a security descriptor typically called lpSecurityDescriptor, and a long typically called BInheritHandle.

Now I often find myself going around the moon to visit my next-door neighbor, so I wanted to ask if anyone had experience calling the CreateDirectory API from Visual Foxpro 5/6/7 or if anyone had experience creating a custom structure suitable to call a function requiring a specially-typed parameter.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform