confusing nlinewidth and nlineheight?
>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)
>>>
>>> in C++
>>> float FAR PASCAL EXPORT AQuAGetLineHeight(long nInstanceID)
>>> {
>>> AFX_MANAGE_STATE(AfxGetStaticModuleState());
>>> // normal function body here
>>> return(2.2345);
>>> }
>>>
>>> The wait iwndow shows 2.000.
>>
>>try adding
>>nLineHeight=0.00 or some other float value before you call your function
>>
>>Arnon