Hi,
I have a VFP COM DLL. I need to pass strings from VB to VFP COM DLL. I get error "type mismatch". Any idea?
Code:
VFP
DEFINE CLASS obj AS SESSION
PROCEDURE execute
PARAMATER tcString, tcString2
**Do watever
ENDDEFINE
VB
Dim myobj as mydll.obj
set myobj = NEW mydll.obj
myobj.execute("aaa","bbb") ' error occured
Why?
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...