Just for kicks, try opening a different type of file(.htm or .pdf etc) and
see if that results in loading all these dlls. I think there is a specific
file has its associativity set to shareportal server of something on lines.
support. Gee, could
joe
No, I am not using anything like that in my program. Upon further
investigation these are loaded when my program attempts to open a non-
existant file on my desktop. The file is only a text file for testing
(x.txt as a matter of fact). I traced the execution path through the
MFC library code to the following point where I cannot step into the
system DLLs at the line indicated:
BOOL AFXAPI AfxResolveShortcut(CWnd* pWnd, LPCTSTR lpszFileIn,
LPTSTR lpszFileOut, int cchPath)
{
USES_CONVERSION;
AFX_COM com;
IShellLink* psl;
*lpszFileOut = 0; // assume failure
SHFILEINFO info;
if ((SHGetFileInfo(lpszFileIn, 0, &info, sizeof(info), //<-------STEP
OVER
SHGFI_ATTRIBUTES) == 0) || !(info.dwAttributes & SFGAO_LINK))
{
return FALSE;
}
// <etc.>
Stepping over that line produces all of the following:
Loaded 'C:\WINDOWS\SYSTEM\MSOSS.DLL', no matching symbolic information
found.
Loaded 'C:\WINDOWS\SYSTEM\CRYPT32.DLL', no matching symbolic
information found.
Loaded 'C:\WINDOWS\SYSTEM\WININET.DLL', no matching symbolic
information found.
Loaded 'C:\WINDOWS\SYSTEM\MSI.DLL', no matching symbolic information
found.
Loaded 'C:\WINDOWS\SYSTEM\HLINK.DLL', no matching symbolic information
found.
Loaded 'C:\WINDOWS\SYSTEM\URLMON.DLL', no matching symbolic
information found.
Loaded 'C:\WINDOWS\SYSTEM\OLEAUT32.DLL', no matching symbolic
information found.
Loaded 'C:\WINDOWS\SYSTEM\OLE32.DLL', no matching symbolic information
found.
Loaded 'C:\WINDOWS\SYSTEM\VERSION.DLL', no matching symbolic
information found.
Loaded 'C:\WINDOWS\SYSTEM\RPCRT4.DLL', no matching symbolic
information found.
Loaded 'C:\Program Files\Common Files\Microsoft Shared\Web Folders
\PKMWS.DLL', no matching symbolic information found.
Loaded 'C:\Program Files\Common Files\Microsoft Shared\Web Folders
\MSONSEXT.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\SHFOLDER.DLL', no matching symbolic
information found.
Loaded 'C:\Program Files\Common Files\Microsoft Shared\Web Folders
\1033\NSEXTINT.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\SHDOCVW.DLL', no matching symbolic
information found.
Loaded 'C:\WINDOWS\SYSTEM\MYDOCS.DLL', no matching symbolic
information found.
lpszFileIn is simply:
+ lpszFileIn 0x0079fb54 "c:\Windows\Desktop\x.txt"
That's a surprising amount of work (loading 16 more DLLs) to determine
that a file doesn't exist, don't you think? Just because I have a few
shortcuts on my Desktop? It must be the "Internet Shortcuts" (I have a
few saved links).
Thanks all for your comments,
Harvey