![]() |
| ||
| how to call C# method in C++ Hi, I have two exes, one is in C# and other in C++. The C++ exe is a windows service. i want to notify my C# executable with events occuring in the windows service. How can i call a c# code frm C++. The application is a simple form based application, i want to display a message box or just to change the caption of the form when some event in the service occurs. dont know where to post this -- in C# or in C++. so posted my question in both. Thanks in advance, Meena |
| ||
| Re: how to call C# method in C++ If the C++ program is C++/CLI, you can add the C# dll as a reference in the C++ project and use it normally. If it's native C++, it's a little harder. |
| All times are GMT -4. The time now is 6:58 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC