There're two classes in the download section that allow to work with structures in VFP:
Heap allocation class File #
9482API-Structures in VFP File #
9557.
The second one has RAS examples.
>I've been trying to convert the following type structure declaration to Visual FoxPro but I can't get it to work:
>
>Public Type RasConn
> dwSize As Long
> hRasConn As Long
> szEntryName(RAS_MAXENTRYNAME) As Byte
> szDeviceType(RAS_MAXDEVICETYPE) As Byte
> szDeviceName(RAS_MAXDEVICENAME) As Byte
>End Type
>
>Anyone has any idea how to do the convertion??
>
>Thanks in advance!
--sb--