>>Hi All,
>>
>>How can do that declaration in VFP?
>>
>>Declare Sub MathStr2Acc Lib "TRIOUT32.DLL" (src As MATH_ACCUM, ByVal buf As String, ByVal ln&)
>
>I am not sure, but try:
>
>Declare INTEGER MathStr2Acc IN TRIOUT32.DLL @STRING src, @STRING buf, @?????? ln
>
>I suspect that MATH_ACCUM is structure, so you must find a way to parse it. What type is ln? I don't know!
unfortunately, yes. How can I send structure from VFP?
Type MATH_ACCUM
length As Integer ' # of MATH_INTs
Sign As String * 1 ' "?" means non-numeric, invalid data
pad As String * 1
MInts(1 To 5) As Integer
End Type ' MATH_ACCUM