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)
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer