09-27-2011, 04:57 PM
This is a C++ crossplatform version, windows/linux:
#ifdef WIN32 //"windows specific macro"
ShellExecute(parameters);
#else //ifndef
system(command);
#endif
And 2:
ShellExecute(GetDesktopWindow(), "open", "path/to/Nksp.exe", "4022", NULL, SW_SHOWNORMAL);
or:
ShellExecute(GetDesktopWindow(), "open", "Nksp.exe", "4022", "path/to/Bin", SW_SHOWNORMAL);

