0

I have a CPP project. I want to use the cpp methods in the C# which is the client. I searched and found related links on this. In one of the link, After creating the dll of cpp project, by importing this dll to c#, the problem will be solved. But it doesn't happened. I am new to this cpp invoving with c#.

Thanks in advnce.

user1258896
  • 11
  • 1
  • 2
  • There are numerous questions about this on SO. Two solutions are PInvoke and COM Interop (keywords). –  Mar 09 '12 at 09:08
  • please provide good links on this. – user1258896 Mar 09 '12 at 09:11
  • Please show good prior searches... –  Mar 09 '12 at 09:32
  • http://stackoverflow.com/questions/574801/call-c-library-in-c-sharp , http://stackoverflow.com/questions/9550031/cant-call-c-function-from-c-sharp , http://www.bing.com/search?q=c%23+pinvoke , http://stackoverflow.com/questions/9626793/compile-c-lib-files-make-them-dll-for-c-sharp-enviroment , http://stackoverflow.com/questions/4106289/using-com-dll-in-c-sharp etc, etc –  Mar 09 '12 at 09:34