C# - Starting a Process and Passing Data
I have an application model where a C# application needs to start a compiled (not managed) C++ Win32 application and then pass data to it as is nessecary. How do I do this? I know there is the System.Diagnostics.Run command (I think its run) but I can''t figure out how to get them to communicate.
The only thing I could think of was creating a socket and recieving on the C++ app and sending on the C# app but that sounds wasteful and dumb.
Does anybody have any better alternatives? Thanks
Well, there are tons of ways: command line arguments, named
pipes, files, sockets (as you mentioned), DLL''s, even
by sending Windows messages. Take your pick.
Kami no Itte ga ore ni zettai naru!
pipes, files, sockets (as you mentioned), DLL''s, even
by sending Windows messages. Take your pick.
Kami no Itte ga ore ni zettai naru!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement