Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to pass VB class to VFP COM DLL?
Message
From
21/12/2000 12:23:58
 
 
To
21/12/2000 06:09:47
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00455341
Message ID:
00455956
Views:
41
>>>Do you mean pass an instance of the class as a parameter to a VPF program?
>>>(passing the object as parameter)
>Yes, I am
>
>>>If the VB class is already on a COM ActiveX DLL, VFP can use it with automation.
>
>The VB class is in COM DLL. However, that is just a "base class" without any code. And VB Class will inherit the interface of "base class".
>
>Any idea?
>
>Thank you

Well, you got me there. From your reply I understand you want to subclass an abstract class (interface only) that you have defined in a VB COM DLL.

Here you have basically created a COM class. But COM does not support that kind of inheritance, and my gut feeling tells me you can't do this. But then again, VFP is known to have the ability to sub-class ActiveX controls so my answer is I really don't know.

My question would be, why don't you define this class in VFP code? You can still expose it by creating a VFP COM DLL.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform