Thread
:
passing arguments with shellexecute
View Single Post
#
4
(
permalink
)
March 9th, 2010, 07:24 PM
kushalkg
Authorized User
Join Date: Jan 2010
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
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;
}
kushalkg
View Public Profile
Find all posts by kushalkg