Managed EXE calling a Unmanged EXE

I am just curious; it is possible for a Managed EXE (.NET) program call another EXE that is unmanaged.
I don't know why you would do this but my curiosity is calling me.
Lawrence AverySystem DeveloperAsked:
Who is Participating?
 
jmcmunnConnect With a Mentor Commented:
Yes, if it is an exe.  if it is a method in a DLL you have to use a DllImport.  But it is still possible even then.
0
 
jmcmunnCommented:
Sure, you can call any process with:

Process.Start("some executable here");

The code does not know or care what language the exe is written in.  :-)
0
 
Lawrence AverySystem DeveloperAuthor Commented:
Even if it is Managed to Unmanaged?
0
 
Lawrence AverySystem DeveloperAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.