How to use simple c++ console app in C#
-
Can some one point me in the right direction on how to implement a smal C++ console app in Csharp.
For clarification: 1. Do you want to use or implement the C++ console app in C#? (Whereas the second doesn't make any sense to me, cause how should i implement a C++ app with C#) 2. What exactly do you mean by use (if that's what you want)?
-
For clarification: 1. Do you want to use or implement the C++ console app in C#? (Whereas the second doesn't make any sense to me, cause how should i implement a C++ app with C#) 2. What exactly do you mean by use (if that's what you want)?
-
I'm implementing two diferrent code parts. I'ts a chessplay. I have the functionality in C++. Now a want to add a GUI to the game. So a want to use functions in C++ from C#
I think you'll have to pinvoke the functions. But I'm not sure if it's possible when there inside a console app. Didn't use it much besides calling some win32 apis.
-
I'm implementing two diferrent code parts. I'ts a chessplay. I have the functionality in C++. Now a want to add a GUI to the game. So a want to use functions in C++ from C#
-
Can some one point me in the right direction on how to implement a smal C++ console app in Csharp.
If you want to launch C++ app in C#, you can use Process.Start (System.Diagnostics namespace) Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/ -
If you want to launch C++ app in C#, you can use Process.Start (System.Diagnostics namespace) Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/Maybe you want to make your own DLL with the console functions, and methods.