View Single Post
Old 2nd April 2019, 20:03   #107
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 339
I have a problem With The CLR Plugin
i need to call mydll to many times

HTML Code:
Var CNTR

Section

STR:

IntOp $CNTR $CNTR + 1

CLR::Call /NOUNLOAD "FTPCityToolkit.dll" "FTPCityToolkit.FTPCityToolkitClass" "FTPMakeDir" 4 "$FTP_Root_Address" "MainFolder/Folder$CNTR" "$FTP_Root_UserName" "$FTP_Root_PassWord"
Pop $0 # return value = exit code

Goto STR

SectionEnd

this Code Create a Folder in Ftp with name MainFolder and inside of that Create Folders Folder1, Folder2 ....
After every run of the loop My application Occupies much more space in memory
also if i use from CLR:estroy before Goto STR , application Hangs.
i how can many times use the CLR plugin without Hangs?
r2du-soft is offline   Reply With Quote