>Hi,
> How do I pass parameter to API which defined as Long in STRUCTURE?
>
A Long is a 4 byte INTEGER. If it is embedded as a member of a structure, it needs to be converted to a 4 byte string equivalent to the internal C representation of the integer. There are UDFs in my CLSHEAP class, available for download here on UT,that can convert between a VFP number an an equivalent string, or convert the 4 byte representation intoa VFP number.