I created an application in C# and then was told it had to be started from a button selection in a C++ exec program. How do I invoke my application from the C++ program?

Re: invoke C# from C++ 80 80

ShellExecute() or CreateProcess(). Which to use depends on how much control you want over how the new process is created. Once the program is compiled it doesn't matter what language it was originally written in. The original language is lost in *.exe programs.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.