Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can do that declare with VFP?
Message
From
19/07/2006 02:46:24
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01137227
Message ID:
01137502
Views:
20
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform