Jump to content

A Question On Dll's

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
rwkeith

rwkeith

    Newbie

  • Members
  • Pip
  • 1 posts
If I understand correctly Dll's(Dynamic Link Libraries) can communicate with an exe. Well does the exe say when to use the dll or does the dll say when to use itself. I've also heard of dll injectors. Does this mean that it would force itself into the exe and the exe and dll would work together?

#2
Lance

Lance

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 276 posts
Normally both the exe and the dll are loaded into memory by the operating system simultaneously. You can choose to load some DLLs by yourself by using Windows API LoadLibrary. In that case exe decides when to load it and even when to unload it.

DLL injection, however, is to insert a dll to a running process' address space from within a third program, see this material:
DLL injection - Wikipedia, the free encyclopedia