Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access class method in .net dll from VFP9
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01311979
Message ID:
01311982
Vues:
19
>I have a .net dll (not mine - a 3rd party) that I registered using regasm /codebase that returned 'Types Registered Successfully.' I can successfully call class methods in the dll from C#. To do so, it is along the lines of:
>

When you register a .NET dll with /codebase, you're basically registering any of the exposed COM classes - so the various DECLAREs you've tried won't work (since that's not the correct way to call a COM component). I'd suggest opening the object explorer and looking through it to see if you find the PowerPhone* COM assembly. This is assuming they even have COM-accessible interfaces defined in the .NET assembly (if there isn't then you're not going to be able to do that either).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform