View Single Post
  #4 (permalink)  
Old March 9th, 2010, 07:24 PM
kushalkg kushalkg is offline
Authorized User
 
Join Date: Jan 2010
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Arrow

Try this.

#include <windows.h>
#include <shellapi.h>


int main ()
{
char szParameters[64];
strcpy(szParameters, "films \"the titanic\" \"1h 45min\"");
ShellExecute(NULL, "open", "insert.exe", szParameters, NULL, SW_SHOWDEFAULT);
return 0;
}
Reply With Quote