Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send text to standard out or STDOUT
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00163857
Message ID:
00164063
Views:
23
>>The DOUBLE data type that you used is a 64 bit floating point number as opposed to a 32 bit integer (DWORD).
>>
>>hth,
>
>Thanks... I figured the declarations were half the problem. Is there anywhere a chart that tells you what VFP type to use for each C++ type that will be in the API doc?
>
>I'll try these that you gave me and see if I can get any further... thanks again.
>
Hi BOb,

Off hand, I don't know of any document that describes the relationship between C data types and the declarations in VFP. In general, most parameters are either VFP strings or integers. There are, however, some data structures that require floats (floating point numbers). Return values are generally integers. You may have noted that I declared some of the return values as "SHORT". In reality, the actual return type is a BOOL (logical value). I use SHORT to indicate this for my own use. It'll return 0 if false, non-zero if true.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform