Not as complicated as it sounds... just an addin that launches an external app, passing it the parameters you want, and then the exe or dll file, right after it's assembled. It was meant to be used with the UPX exe packer.

Suggestions welcome :)
Posted on 2003-08-29 15:24:59 by QvasiModo
Hi QvasiModo,

Very good idea, although I have not upx.exe to fully test the Add-In.

Thanks for this Add-In.


Posted on 2003-08-29 15:34:52 by akyprian
No need for upx.exe, you can use any exe packed for that matter. Check out the options dialog box, you can change the command line there.
BTW, forgot to mention it, the config is saved in the file UPXaddin.ini in the windows directory.
Mhm.. I should write a readme for this... will do, and post it here.
Posted on 2003-08-29 15:39:36 by QvasiModo

A readme would help a lot


Posted on 2003-08-29 15:48:19 by akyprian
Updated. A few minor corrections, and a decent readme file.
All done. :)

EDIT: Attachment updated.
Posted on 2003-09-01 12:23:17 by QvasiModo

Everyrhing OK but, again, you did not use MF_OWNERDRAW for the menu.

Please do so that we upload it to the WinAsm site.


Posted on 2003-09-01 13:48:25 by akyprian
Sure, but... why? The MF_OWNERDRAW style forces me to handle the menu item drawing myself, when MF_STRING works just fine.
In fact, I just downloaded an addin for WinAsm whose menu item does not work at all, perhaps I'm using the wrong version? I have WinAsm Have there been any updates to that require addins to use the MF_OWNERDRAW style?
Posted on 2003-09-01 14:11:12 by QvasiModo

MF_OWNERDRAW is required since V1.0.1.6

NO. MF_OWNERDRAW is handled by WinAsm, you have nothing else to do.

If you mean AddProc addin, it DOES add an ownerdraw menu item but NOT to the Add-Ins menu but to the Edit menu.

Please use MF_OWNERDRAW with V1.0.1.7 and it will be OK.


Posted on 2003-09-01 14:16:38 by akyprian
Yep, I meant AddProc. And you're right, it's the edit menu (my mistake).
I'm changing MF_STRING by MF_OWNERDRAW, nothing else, and I can't test it until I download the latest WinAsm, so you tell me how it works...
(attachment edited in previous post)
Posted on 2003-09-01 14:25:41 by QvasiModo
Hi QvasiModo,

This was it! Perfect


PS. Masmer can you please upload this new version?
Posted on 2003-09-01 14:44:31 by akyprian
Done. I included a link to the UPX download page too.

Cool add-in QvasiModo. Took some time before I referred to the readme to see the executable must have the same name as the project. I used your add-in many times yesterday (with UPX).
Posted on 2003-09-02 04:59:48 by Masmer
New update:
- Now it doesn't require the output filename to be named after the project. You can use the "/OUT" option in the Project Properties dialog box. If this option is left blank, the previous parsing method will be used.

EDIT: Attachment deleted to save space (9 downloads). See bottom of thread.
Posted on 2003-09-04 12:42:17 by QvasiModo

This is very nice. Congratulations. Very useful indeed.


Posted on 2003-09-04 14:36:42 by akyprian
Update. Now AddIns.Ini is used to store the settings.

EDIT: Attachment deleted to save space (9 downloads). See bottom of thread.
Posted on 2003-09-22 13:53:03 by QvasiModo

A)The initialization file is "WAAddIns.Ini", NOT "AddIns.Ini"

B)This is from your text file:

1.Copy UPXaddin_WA.Dll to your addins folder (typically C:\WinAsm\Addins).
2.Restart WinAsm.
3.Open the Addins Manager, and enable the addin.

Nr is 2 not needed. You do not have to restart WinAsm


Posted on 2003-09-22 14:34:22 by akyprian
A) Posted on 2003-09-22 15:21:13 by QvasiModo

I 've noticed that you consider that the ini file is in the WinAsm directory. It is in the ..\WinAsm\AddIns directory.


Posted on 2003-09-23 05:05:44 by akyprian
:grin: will be fixed tomorrow then...
Posted on 2003-09-23 10:29:02 by QvasiModo
Fixed. :)
Posted on 2003-09-24 21:21:23 by QvasiModo