Ver Mensaje Individual
  #2  
Antiguo 23-09-2011
Avatar de Al González
[Al González] Al González is offline
In .pas since 1991
 
Registrado: may 2003
Posts: 5.604
Reputación: 30
Al González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en bruto
Veamos que dice MSDN:
Cita:
The system maintains a per-process reference count for each loaded module. A module that was loaded at process initialization due to load-time dynamic linking has a reference count of one. The reference count for a module is incremented each time the module is loaded by a call to LoadLibrary.

[...]

The reference count is decremented each time the FreeLibrary or FreeLibraryAndExitThread function is called for the module. When a module's reference count reaches zero or the process terminates, the system unloads the module from the address space of the process.
http://msdn.microsoft.com/es-es/site/ms683152

Según se colige, al terminar el programa la DLL también desocupa la memoria que usó en relación con el programa. Quedando totalmente descargada de la memoria de Windows si ningún otro programa la está usando.

Un abrazo liberado.

Al González.
Responder Con Cita