Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

31337

C# - Starting a Process and Passing Data

This topic is 5429 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!