Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a Foxpo object to VB
Message
 
À
01/03/1998 13:40:51
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00081910
Message ID:
00082022
Vues:
43
>>It is possible if the other object is an OLE public object. IOW, you create the VB server from vfp, pass it the name of a VFP ole public class and let the VB object creqate the VFP activex server and call its methods. I know of no way for you to pass a reference of an existing VFP object to VB so that VB can call that object's methods. VB has to create a VFP activeX servr object in order to have access to its methods.
>
>That sounds like it should work for what I need. A question I still have though, is that if I create that object from VB, do I load another instanace of Visual Foxpro?
Jay,

Yes you do. VFP's dll's are not sharable so your application needs them adn teh activex server needs them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform