tip Posted October 27, 2008 Posted October 27, 2008 (edited) Hi to all, Does anyone know how to create an autoit script (exe) with 7zip-32.dll embeded in which can be used with dllcall? My object is to have one single file... Thanks in advance P.S.: I've already tried Zedna's resources udf... Regards Tip Edited October 27, 2008 by tip [center]MsgBox_Tipped: Eye candy msgboxes/inputboxes/loginboxes. | CreateBlankBox: Semi-transparent layers with borders and rounded corners.[/center]
PsaltyDS Posted October 27, 2008 Posted October 27, 2008 Hi to all,Does anyone know how to create an autoit script (exe) with 7zip-32.dll embeded in which can be used with dllcall?My object is to have one single file...Thanks in advanceP.S.: I've already tried Zedna's resources udf...Regards TipSounds like you seek Plugins. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Pain Posted October 27, 2008 Posted October 27, 2008 http://www.autoitscript.com/forum/index.php?showtopic=77463
PsaltyDS Posted October 28, 2008 Posted October 28, 2008 http://www.autoitscript.com/forum/index.php?showtopic=77463@Pain: Nice find: Embed DLLs in script and call functions from memory Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
tip Posted October 30, 2008 Author Posted October 30, 2008 (edited) Hi to all again, While I'm digging I noticed something. I'm using this code in my script. ...Gui Code... Case $Button3 $CreatedBackupFile = @MDAY & "_" & @MON & "_" & @YEAR & ".7z" $Command = 'a -t7z ' & $CreatedBackupFile & ' "' & $SourceFold & '\" -mx5' MemoryFuncInit() MemoryDllCall($DllBinary, "int","SevenZip","hwnd",0, "str", $Command, "int", 0) MemoryDllExit() ... What I've just noticed is this: When I click Button3 for the first time nothing happens and script continues executing but when I click Button3 for a second time -for a third time if script is not compiled- it starts archiving... Does anyone know something about this? Is it me coding junk or is it a malfunction/bug... Thank again Regards Tip Edited October 30, 2008 by tip [center]MsgBox_Tipped: Eye candy msgboxes/inputboxes/loginboxes. | CreateBlankBox: Semi-transparent layers with borders and rounded corners.[/center]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now