![]() |
#2
SSSSS2172008-04-01 22:03
|
求一段用shellexcute打开一个指定的htm 文件的代码
用VS2005 C++,
为什么我使用总是出错,求完整代码。
需要定义那些头文件?
用 Win32 Application.
ShellExecute(hwndMain, "open", "C:\\myWorking.exe", NULL, NULL, SW_SHOW);
But there is an error:
error C2664: 'ShellExecuteW' : cannot convert parameter 2 from 'const int' to 'const unsigned short *'
怎么办?