| | |
how to call C# method in C++
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2007
Posts: 16
Reputation:
Solved Threads: 0
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
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
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.
The truth does not change according to our ability to stomach it.
![]() |
Similar Threads
- how to call a method defined in another file? (Java)
- Error: uncaught exception: Permission denied to call method XMLHttpRequest.open (HTML and CSS)
- How to call a EJB method from Session bean method (Java)
- Generic method parser / invoker (C#)
- HELP~! how to call Matlab function in C#? (C#)
- Accesing controls on the form from custom method (C#)
- How can i call my FileOutput method to output the array ?? really confused... (Java)
Other Threads in the C# Forum
- Previous Thread: How to update a database?
- Next Thread: Format single Row in datagridview using a value in same row
| Thread Tools | Search this Thread |
.net access algorithm alignment app array barchart bitmap box broadcast c# c#gridviewcolumn cast check checkbox client combobox communication control conversion csharp custom database datagrid datagridview dataset datatable datetime degrees development draganddrop drawing elevated encryption enum excel file focus form format forms function gdi+ hospitalmanagementsystem httpwebrequest image index input install java label list listbox localization login mandelbrot math messagebox mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox server sleep socket sql statistics stream string stringformatting sun table text textbox thread time timer update usercontrol validation visualstudio webbrowser whileloop windows winforms wpf xml





