Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access class method in .net dll from VFP9
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01311979
Message ID:
01311982
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform