| | |
how to call C# method in C++
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
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 application array bitmap box c# c#gridviewcolumn check checkbox client color combo combobox communication concurrency control conversion csharp custom data database datagrid datagridview dataset datatable datetime degrees draganddrop drawing enabled encryption enum excel file focus form format forms function gdi+ getoutlookcontactusinfcsvfile globalization hospitalmanagementsystem image input install java list localization mandelbroth math messagebox microsoftc#visualexpress mono mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox save server sleep socket sql sql-server statistics string stringformatting sun table text textbox thread time timer update usercontrol validate validation visualstudio webbrowser winforms wpf xml





