Information générale
Catégorie:
Contrôles ActiveX en VFP
No. It did not work.
****my code*****
DECLARE Signal IN 3partyDll string, string, integer @, string @, integer , string, integer
mcom="com1"
mfile="c:\myfile.txt"
mNres=0
mCres=""
mBoolian1=0
mBoolian2=0
=Signal(mcom, mfile, @mNres ,@mCres, mBoolian1, "",mBoolian2)
I used integer instead of boolean.
What I get is an error message:
"Cannot find entry point Signal in the DLL"
Where is the mistake!
>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","\Mytext.txt",Result ,Exresult, mDos, "",SupError)
>>
>>----VFP code ---
>>DECLARE Signal IN 3PartyDll (how do I pass boolean parameters?)
>>
>>Thanks
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement