   shellexecute in C++
  How do you use shellexecute in C++??? What header files or librarys do I need to include??? If there is no such thing in C++, then is there another function to open files and folders???thanks in advance. 
  If you mean execute a file then you can use WinExec() I dunno how to use ShellExecute so I can''t answer that part...you can also use system(path); to execute a file... ;  Win32 :- ShellExecute (hmkay)- WinExec (eww)- CreateProcesss (the one to use)windows.h for all of the aboveC++ :- system (eek)cstdlib for this one;  The reason I wanted to know this was so when the player of my game escpes out of ''in-game action'' to the main menu the program would exit and restart along with it restarting all its variables. Is there a better way to do this??? By the way the game uses C++,DirectDraw7.DX8 sdk. ;  The proper way would probably be to use threads. Restarting the program and quitting it sound quite kinky to me, and I would not recommend it.One easy solution is to have the game loop, and the menu loop, and jump between them as you see fit. ;  I explained a little bit about ShellExecute on this topic Problem using ShellExecuteA() functionNow you will also need to make sure you have the header file included in your source code - #include <windows.h>- BlueDev 