Dave Briccetti
Lafayette, California
www.davebsoft.com
Thanks! That looks like just what I want. I don't know how to get an
IShellDispatch4 in C++, but I found some code online somewhere. Should
something like this work?
IShellDispatch4 *pShell;
CoInitialize(NULL);
HRESULT hr = CoCreateInstance(CLSID_Shell, NULL, CLSCTX_INPROC_SERVER,
IID_IShellDispatch, (void**)&pShell);
pShell->WindowsSecurity();
It compiles and runs (on XP), but doesn't bring up the Windows
Task Manager. Does anyone see a problem or have a working sample?
Thanks.
Dim objShell
objShell = CreateObject("Shell.Application")
objShell.WindowsSecurity()
objShell.FindFiles()
FindFiles brings up the search application, but WindowsSecurity does
nothing that I can see.
Searching for WindowsSecurity on MSDN and via Google web and groups
gives me very, very little.
Can someone help, or tell me another way to trigger the effect of
Ctrl-Alt-Delete? How do PC Anywhere and similar programs do this?
Thanks.
Dave Briccetti
PC Anywhere installs a custom keyboard driver.
On Sun, 26 Oct 2003 16:27:51 GMT, Dave Briccetti
Here's how VNC (opensource remote control software) does it:
http://www.slink-software.com/W/SrcDoc_Top/vnc-3.3.7/vnc-3.3.7-winsrc.sdoc/N_5
Thanks very much. (That's a cool way of presenting the source, BTW.)
I looked at the VNC source before, but was concerned about the comments
containing "oh dear," "kludge" and the like. That's why I'm hoping
Raymond Chen or someone can come through with an elegant, supported
solution.
Is it possible that the VCN folks researched this Ctrl-Alt-Delete area
thoroughly and what they came up with was just the best that can be done?
Dave
Thanks for the comments.
I trust the VCN folks more than 98% of programmers in the world by the
work they did.