Visual C++网络编程经典案例详解 第5章 网页浏览器 CHtmlView类 ShellExecute()函数

windows 系统中
用户可以使用shell 函数 调用外部exe 程序

Win32 API 函数中的 ShellExecute函数
HINSTANCE ShellExecute{
HWND hwnd; //父窗口句柄
LPCTSTR lpOperation; //表示将操作的方式
LPCTSTR lpFile, //表示将操作的文件夹
LPCTSTR lpParameters, //表示传入程序的文件名
LPCTSTR lpDirectory, //所调用程序所在的目录名
int nShowCmd //以何种方式显示程序
};

猜你喜欢

转载自blog.csdn.net/eyetired/article/details/86486833