•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 456,595 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,443 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 2431 | Replies: 1
![]() |
| |
•
•
Join Date: Jul 2007
Posts: 16
Reputation:
Rep Power: 2
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- 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


Hybrid Mode