Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing boolean parameters in DLLs
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00811175
Message ID:
00811198
Views:
17
Use Integer, 0 is false, 1 is true.


>What is the VFP equivalent for the following VB code?
>
>3partyDll.dll (the dll file)
>
>Signal in 3PartyDll
>arguments type
>---------------------------
>"com1" string
>"myfile.txt" string
>ExNresult integer && returned - expected Numeric result
>ExCresult string && returned - expected Nharacter result
>SupError boolean
>"" string
>mDos boolean
>
>----VB code ----
>Dim ExResult as String
>Dim Result as Intreger
>Dim mDos as Boolean
>Dim SupError as Boolean
>mDos = False
>SupError = False
>Call Signal("com1","\MyAppl\Invoice.in",Result ,Exresult, UseDos, "",SupError)
>
>----VFP code ---
>DECLARE Signal IN 3PartyDll (how do I pass boolean parameters?)
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform