Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Experts,

I have tried to register the dll but unable to register. Error like entry point not found.

How to call vc++ dll in C# application?

Is there any other way to use vc++ dll in C# application?



Regards,

Purnananda Behera
Posted

Google "interop services".
 
Share this answer
 
If you know the function names then you can use pinvoke [^]to call them

Have a look here, shows you how to use dumpbin to view the DLL and how to declare the functions for pinvoke


Step by Step: Calling C++ DLLs from VC++ and VB - Part 2[^]

It's a VB article, bu the concept is exactly the same for c#
 
Share this answer
 

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