Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New VB Features
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00425458
Message ID:
00428296
Vues:
14
>typedef struct _DllVersionInfo
>{
> DWORD cbSize;
> DWORD dwMajorVersion;
> DWORD dwMinorVersion;
> DWORD dwBuildNumber;
> DWORD dwPlatformID;
>}DLLVERSIONINFO;

I think I have been grossly misunderstood. I said that VFP classes are structures. We never had this before classes. I did not say you can pass them to an API. If you want a structure in VFP that makes it easy to handle an object then just define a class. You don't need any methods.

However the above example can still be done in VFP. You have to create the "structure" as a 20 char string. Then parse the result it in 4 byte increments making sure you reverse the double words appropriately using the Intel format.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform