Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare dll problem
Message
From
03/12/2009 08:04:38
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01437269
Message ID:
01437434
Views:
41
>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)
>>>
Thank you, I'll consider this warn...
Previous
Reply
Map
View

Click here to load this message in the networking platform