Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare dll problem
Message
 
 
À
02/12/2009 10:12:30
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01437269
Message ID:
01437377
Vues:
43
Metin,

If that function can return more than one character you may need to preallocate enough space in the variable before you call the function.
lcTest = space(40) && allocate room for the max returned value
>>
>>DECLARE integer GetCashDrawerStatus IN poscd2.dll  STRING @
>>lcTest = []
>>GetCashDrawerStatus(@lcTest)
>>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform