PRB: IShellLink::Resolve Displays a Dialog Box Even When SLR_NO_UI Flag Is Specified (278014)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • Microsoft Windows Millennium Edition

This article was previously published under Q278014

SYMPTOMS

On a Windows Millennium Edition-based computer, if the IShellLink::Resolve function is called, a dialog box is displayed when the shortcut fails to resolve, even though SLR_NO_UI is specified as one of the flags.

RESOLUTION

In addition to the SLR_NO_UI flag, call IShellLink::Resolve with a NULL window handle (HWND) if no user interface should be displayed while programmatically trying to resolve a shortcut.

Passing a valid HWND for the first parameter to this function causes an error dialog box to be displayed when the link fails to resolve.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbprb kbShellGrp KB278014