Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can do that declare with VFP?
Message
De
19/07/2006 02:46:24
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01137227
Message ID:
01137502
Vues:
21
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform