Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing string to VFP COM DLL
Message
From
19/12/2000 10:03:27
 
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Passing string to VFP COM DLL
Miscellaneous
Thread ID:
00455025
Message ID:
00455025
Views:
124
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...
Next
Reply
Map
View

Click here to load this message in the networking platform