Здравствуйте Dutchman, Вы писали:
D>Юзай ShellExecuteEx
:( Попробовал, вот код:
SHELLEXECUTEINFO sei;
ZeroMemory(&sei, sizeof(sei));
sei.cbSize = sizeof(sei);
// sei.fMask
sei.hwnd = m_hWnd;
sei.lpVerb = TEXT("properties");
sei.lpFile = TEXT("c:\\Boot.ini");
// sei.lpParameters
// sei.lpDirectory
sei.nShow = SW_SHOW;
sei.hInstApp = AfxGetInstanceHandle();
ShellExecuteEx(&sei);
В результате окна "File properties" не получил,
а получил MessageBox следующего содержания:
"This file does not have a program associated with it perfoming action.
Create an association in the Folder Options control panel."
:(