SHELLEXECUTEINFO ExecInfo; ExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); ExecInfo.fMask = SEE_MASK_INVOKEIDLIST; ExecInfo.lpVerb = NULL; ExecInfo.lpIDList = NULL; ExecInfo.hwnd = hwnd; ExecInfo.nShow = SW_SHOW; ExecInfo.lpParameters = NULL; ExecInfo.lpDirectory = L"D:\Songs"; ExecInfo.lpFile = L"There is light that.mp3"; ExecInfo.hInstApp = NULL; ::ShellExecuteEx(&ExecInfo);
ShellExecute(handle, "open", fullpathtofile_andfilename_andextension, NULL, NULL, SW_SHOWNORMAL);
L"D:\Songs";
FALSE
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)