I have two programs that work together. The front-end is in vb.net and the backend is in c++. Both programs work together.

I have a way for the .net program to monitor the c++ application and run an instance of it if the user has killed the process. This works great.

I need a way for my c++ program to spawn a thread that watches that the other program is running and if it isn't, it starts a new instance.

Thanks.