This "hard error" is is coming from deeper within the system. If you look in the system event log, you will also see these error messages listed there. You can prevent the popups from appearing by calling SetErrorMode with the SEM_FAILCRITICALERRORS flag.
--
Jim Barry, MVP for Windows SDK
--Cecil.
Your question and response triggered my brain and sure enough solved our problem just in time for our newest version which was launched today.
Thanks!
Bill Pytlovany
WinPatrol 7.0
Have a nice day!
Rhett Gong [MSFT]
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Please reply to newsgroups only. Thanks.
In additional, when we call IShellLink:: Resolve with SLR_NO_UI flag set, pass NULL to hwnd parameter.
You can see a message dialog will not be popup when the resolving failed.