Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to pass VB class to VFP COM DLL?
Message
De
21/12/2000 12:23:58
 
 
À
21/12/2000 06:09:47
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00455341
Message ID:
00455956
Vues:
42
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform