Per,
>I found the following in the header file in the dir :
>the headerfile is scomm32.h
>and I also have a scomm32.lib
>so I can build a dll to overcome the struct difficulties,
>but I want to try it out in VFP!!
>
>#pragma pack(push, 1)
So that means it is 1 byte boundary packed. Now the only issue to determine is what the size of BOOL is. You'll have to check the other .h files the .c uses. Or you could just fire up the C compiler and print out the result of sizeof() on the struct is, that should tell you exactly.
You should be able to transparently use the DLL from VFP because there are no pointers in the struct. It might not be fast enough though since you have to do so much string manipulation on the VFP side.