Hi folks,
I am currently working on a C++ programm which calls another C# programm I have code-level access to. However when I call the program using CreateProcess(0, temp2, 0, 0, false, 0, 0, 0, &si, &pi)
where temp2 contains the executable including command line parameters the C# program starts but the OnLoad event of the MDIForm (= main form) is not raised and I am missing some crucial initialisation stuff. I guess there are some parameters for the CreateProcess(...) method missing.
EDIT: sorry, was not a problem with the CreateProcess() method, instead a exception got raised in the OnLoad-EventHandler and my Code (MessageBox) was never reached.
Hope you can help me