Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 8 COM DLL Business Object to .NET problem
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
VFP 8 COM DLL Business Object to .NET problem
Divers
Thread ID:
00776588
Message ID:
00776588
Vues:
54
Hi to all:
I've been trying to create a COM business object based on wwBusiness Class (west wind's Web Connect). It's similar to Rick S. sample in WC documentation regarding nested objects & the wwBusiness class. In my application everything works like a charm (VFP 8), using it as a native class not as a com object.
I subclass my original business class, in the Init Method of the main object several objects that interact with the parent object are added. In VFP this works great, I'm able to access the child's object properties & methods, but as a com object called from a .Net c# project the properties & methos of thos child's objects are not available.

I tried to use ADD OBJECT in the class definition instead of ADDOBJECT in the init but still I can't access the child's properties or methods.

Am I doing something wrong or is this an interfacing problem with VFP COM objects and .NET? or is a general problem with .net and COM.


Thanks to everyone for any help provided
Nelson F. Marmol
Nelson F. Marmol
www.softland-inc.com

"Beware of programmers who carry screwdrivers."
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform