Look at thread101-85540 and thread101-34713. James P. Cottingham
I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
//selects the program and how to use it
SHELLEXECUTEINFO exeinfo;
memset(&exeinfo, 0, sizeof(exeinfo));
exeinfo.cbSize = sizeof(exeinfo);
exeinfo.lpVerb = "open";
exeinfo.lpFile = WinShut;
exeinfo.fMask = SEE_MASK_NOCLOSEPROCESS;
exeinfo.nShow = SW_SHOWDEFAULT;
if (!ShellExecuteEx(&exeinfo))
{
MessageDlg("Could not open: Win.exe", mtError, TMsgDlgButtons() << mbOK,0);
return;
}
} Cyprus
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.