Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL written in VB for VFP use problem
Message
 
To
10/02/2003 03:48:49
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00751315
Message ID:
00751325
Views:
17
Hello,

>I am compiling an DLL written using VB6 for VFP6 use.
>My VFP6 application just need to call a few function,
>but insteads it give 'cannot find entry point in xxx.dll' error
>message when I call the function in the DLL. what is wrong, please
>advise.

Only COM Dlls can be created in VB. So you cannot declare functions in VB Dll. You need to create an instance of class in your Dll and call method of this class:
MyObj = CreateObject("MyDll.MyClass")
MyObj.MyFunction()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform