Source Code MultipleProcesses Project
Google Chrome uses a process for each tab. This way the crashed tab won't make the other tabs crash. This example application contains a child application called "ChildApplication.exe". This way you can put multiple child applications in your parent application.
The child application will be split from the parent application when the parent application crashes. Personally I think it would be hard to make the parent crash, because all it does is containing child applications.
I don't know for sure if the parent application is actually waiting for the child application to start first, because under the .NET Framework 2.0 the whole application wouldn't work. Only the child application would start. This is the reason why the application is using the .NET Framework 4.0.
To simulate a crash just create a button and put "throw new Exception();" in the button its click event.
Source Code MultipleProcesses Project
thanks a a lot! Looking forward to more
ReplyDeleteYou may want to actually show (in your post) how to include child applications ;D
ReplyDeletegood info mate. interesting to read
ReplyDeleteHow is communication accomplished? That's a pretty major point.
ReplyDeleteAlso check out my gaming and programming blogs.