sample code‎ > ‎

ShellExecute

メモ帳を起動する。
#include <Windows.h> 

int main() { 
  ShellExecuteA(NULL, NULL, "notepad.exe", NULL, NULL, SW_SHOWNORMAL); 
  return 0; 
}

ほかにも CreateProcess() を使う方法もある。