Click here to Skip to main content
15,878,543 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have VC++.Net dll, i have to call this dll function to my VB.Net application.
i don't know, How to do?

Thanks in advance
Updated 8-Jul-11 1:54am

1 solution

Just add a reference for the C++ assembly in your app, and call the method.
Share this answer
Ramanujam Shankar 8-Jul-11 9:14am    
i added the reference. but how to i call?
Dave Kreskowiak 8-Jul-11 9:49am    
You don't "call" a .DLL. If you've added a reference to the .DLL, it's COM-based. If that's the case, then you Import the namespace exposed by the .DLL, then instantiate any objects you need just like any other .NET class.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900