Sign in to follow this  
Followers 0
tip

Embeded 7zip-32.dll?

5 posts in this topic

#1 ·  Posted (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 by tip

[center]MsgBox_Tipped: Eye candy msgboxes/inputboxes/loginboxes. | CreateBlankBox: Semi-transparent layers with borders and rounded corners.[/center]

Share this post


Link to post
Share on other sites



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

Sounds like you seek Plugins.

:P


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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by tip

[center]MsgBox_Tipped: Eye candy msgboxes/inputboxes/loginboxes. | CreateBlankBox: Semi-transparent layers with borders and rounded corners.[/center]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0