Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return (floats / SINGLE/ DOUBLE) from an API
Message
From
10/07/1997 18:35:26
 
 
To
10/07/1997 12:32:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00039147
Message ID:
00039360
Views:
36
DOUBLE is a 4-byte (64-bit) floating point type both in C/C++ and VFP. DWORD is a 4-byte unsigned integer. The internal format is different.

Vlad

>Hi!
>
>Did you tried declare your function as String instead of Double (Can I
>assume that it is DWORD in C++?) and then convert result to decimal value?
>
>Have a happy day
>Vladimir Shevchenko
>
>> I had already tried setting nLineWidth to a float. It made no
>difference.
>> In particular. I had put
>> nLineHeight = 1.1
>> after the DECLARE DOUBLE line.
>>
>> >> in VFP
>> >> DECLARE DOUBLE AQuAGetLineHeight IN AQuA_Lib INTEGER nInstanceID
>> >> nLineHeight = AQuAGetLineHeight(1)
>> >> wait window str(nLineHeight,10,3)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform