源程序:
#include <shellapi.h>
using namespace std;
int mian()
{
::ShellExecute(NULL,L"open",_T("rundll32.exe"),_T("C:\Users\Administrator\桌面\a.jpg"),NULL,SW_SHOWNORMAL);
return 0;
}
错误提示:
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
DECLARE_HANDLE (HDROP);