>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.