- May
- 13,745
- 209
Rex, I'm now running Win7 (and later today, VS2010).
Did you have to make any changes to SHRALIAS to ensure that the files are properly saved at logoff/shutdown?
My SHRALIAS is in a DLL which I inject into Explorer.exe at logon time. It works correctly except that, at logoff/shutdown, only *some* of the command history save-file is written. It may be only a few lines or a few hundred lines but it's not *all* lines.
Win7 logs off and shuts down very quickly. Would it kill my (explorer) thread before its window process finished processing WM_ENDSESSION? Should I do something in DllMain/PROCESS_DETACH that causes the files to be dumped before returning?
Any other ideas?
Thanks.
Did you have to make any changes to SHRALIAS to ensure that the files are properly saved at logoff/shutdown?
My SHRALIAS is in a DLL which I inject into Explorer.exe at logon time. It works correctly except that, at logoff/shutdown, only *some* of the command history save-file is written. It may be only a few lines or a few hundred lines but it's not *all* lines.
Win7 logs off and shuts down very quickly. Would it kill my (explorer) thread before its window process finished processing WM_ENDSESSION? Should I do something in DllMain/PROCESS_DETACH that causes the files to be dumped before returning?
Any other ideas?
Thanks.