cpagelinks
Home
About Google Docs
About Google Sites
▼
English
abbreviation
holidays
Trad Japan
words
▼
memo
.NET
Android
C#
C/C++
Chrome
command
Dev on Linux
Doga
emacs
Google Code
Google Dev
History of Japan
IT People
JavaScript
Linux
MyPC
net
OOo
Prg Style
Python
skia
STL
Ustream
VBA
Visual Studio
VS Macro
WebBrowser
Win32API
Windows
Xlib
zlib
Other Language
▼
sample code
_getch
GetAsyncKeyState
InOutManageSystem
ShellExecute
vector
▼
物置
DirectXLib
DollarYenConversion
Puyopuyo拡張
TemplateMatching
TemplateMatching2
TemplateMatching3
sample code
>
ShellExecute
メモ帳を起動する。
#include <Windows.h>
int main() {
ShellExecuteA(NULL, NULL, "notepad.exe", NULL, NULL, SW_SHOWNORMAL);
return 0;
}
ほかにも CreateProcess() を使う方法もある。
参考:
http://msdn.microsoft.com/ja-jp/library/cc422072.aspx