Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a class that inherits ABusinessObject from VFP6.
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01133891
Message ID:
01134356
Vues:
16
Mike,

>I have a C# .NET class that I can sucessfully create and call from Visual FoxPro 6.
>I changed it to inherit ABusinessObject so I could fully implement a MM.NET as a base class. When I inherit ABusinessObject the class still works in the .NET environment (on the Object Test Bench). However when I attempt to create the object in Visual FoxPro I get the following error:
>
>OLE error code 0x80131509: Unknown COM status code.
>
>I have tried inheriting from another class and it works with VFP. It seems to have a problem with ABusinessObject.
>
>Has anyone seen this or do you have any ideas for a solution?

Did you instantiate an instance of the application object first as is done in the AAppTest?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform