Thread: Strange bunch of DLLs loaded

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    70

    Strange bunch of DLLs loaded

    I made a little test app that just displays a few message boxes, and fiddled with the Release configuration settings to see how small the EXE could be. I have yet to check how small it became (and ofcourse it would be minimal no matter what settings I had used, this is a bit a peculiar experiment by a peculiar person I admit) but the intriguing thing is that in the output I see:

    Code:
    'Test.exe': Loaded 'D:\Apps\Test\Release\Test.exe', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\Program Files\MouseWare\system\LgWndHk.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\Program Files\MessengerPlus! 3\MsgPlusLoader.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\Program Files\iTouch\iTouch\itchhk.dll', No symbols loaded.
    'Test.exe': Loaded 'C:\Program Files\Common Files\Logitech\Scrolling\LGMSGHK.DLL', No symbols loaded.
    'Test.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
    'Test.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
    'Test.exe': Loaded 'C:\Program Files\Copernic\CopernicDesktopSearchSystem740.dll', No symbols loaded.
    As you see all kinds of DLLs appear to be loaded by my app, only a few of which are Windows system ones. Why is this?

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    As well as the DLLs actually linked to your program, other DLLs that are referred to by the linked DLLs as well as DLLs specified in the registry as being loaded on a program's startup will be loaded into your program's process at startup.

    I wouldn't worry about this too much, although if you think that startup time is adversely affected by these DLLs you could uninstalling them (Some appear to be to do with your Logitech mouse, there's a "desktop search engine" there, etc.)

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    70
    >>you could uninstalling them<<

    You mean remove those applications? I don't want to remove my mouseware or (wait... maybe I do, there's a better one that allows wheel scroll everywhere, but that's off the point I've been thinking to get that) but not my speedsearch (copernic).

    Seriously, you mean all those DLLs load eachother as a chain? Let me suggest a therory and tell me if i'm wrong: some apps have hooked themselves into loading when some system DLLs do? Why don't they just use an entry in HKLM\Software\Microsoft\Windows\CurrentVersion\Run ?

    Weird...
    Last edited by willkoh; 09-23-2005 at 02:29 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 02-02-2009, 07:27 AM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. Strange error?
    By MrLucky in forum C++ Programming
    Replies: 5
    Last Post: 02-04-2006, 03:01 PM
  4. Going out of scope
    By nickname_changed in forum C++ Programming
    Replies: 9
    Last Post: 10-12-2003, 06:27 PM
  5. Game update...
    By jdinger in forum Game Programming
    Replies: 14
    Last Post: 11-08-2002, 07:10 AM