Skip to content
⌘ NSIS Forum Archive

Unload Dlls After User Thats

5 posts

r2du-soft#

Unload Dlls After User Thats

after i use from some codes,some dlls cant be unload after my call dll finished.

for example:


Cant Be Unload system.dll
System::Call "user32::LoadKeyboardLayout(t '00000409',i 0x00000001)" ;English(Us)*(uniter States)

Cant Be Unload nsDialogs.dll After Exit nsDialogs Page...
   nsDialogs::Create 1018
   Pop $Dialog
   ${If} $Dialog == error
       Abort
nsDialogs::Show

Cant Be Unload Banner.dll After Destroy
Banner::show /set 76 "testing" /set 54 "${ApName} ${Version}${BuildNumber}"
Sleep 2000
Banner::destroy

Cant Be Unload inetc.dll After Download And Upload
inetc::get /CANCELTEXT "Cancel" /QUESTION "Are You Sure You Want To Cancel?" /RESUME "Network Error,Check internet Connection And Send 'Retry'" /Caption "Downloaing" "http://$User:$Pass@$URLS" "$EXEDIR\$File" /END


inetc::put /CANCELTEXT "Cancel" /QUESTION "Are You Sure You Want To Cancel?" /Caption "Uploading" "FTP://$User:$Pass@$URL/$File" /END


Cant Be unload Aero.dll after Use Aero Set
Aero::Apply

after use thats how can unload?


my problem is this...
my application after complete goto loop and my problem is fill memory...
i clear stack after user that and my problem solved a little but i think because
application goto loop These dlls are reloaded in the system and memory filled...
Anders#
Loading a .dll multiple times does not increase memory usage. The actions performed by the .dll might but not the library itself.
r2du-soft#
I know of stuff that fills the RAM:
use push and don't use pop after that.
What other materials are fill memory?
r2du-soft#
i have memory usage problem in windows server 2008....



Within 24 hours,isass.exe process memory usage is 856,088K !!!
and when my memory size fulled program not responsed!
the problem is my software or The problem is something else?
i searched server windows to find virus but is clear!
Anders#
You are now starting to get off topic. Certain security/account APIs will talk to lsass but normal NSIS features do not. Post your NSIS code or go ask somewhere else like Stackoverflow...