FileForums

FileForums (https://fileforums.com/index.php)
-   Software (https://fileforums.com/forumdisplay.php?f=32)
-   -   Changing header of executable (https://fileforums.com/showthread.php?t=92398)

TippeX 21-11-2011 12:17

yup...AllocConsole etc...more overhead though.. maybe win10 or smth can go hybrid

ptsz 21-11-2011 16:35

Quote:

Originally Posted by Joe Forster/STA (Post 398964)
which is why I wrote two versions of the "Minimize2Tray" programs - console and GUI -, to be released some time...

I have been looking for source code how to minimize an app to the tray for a while. Unfortunately it has to be WinAPI but. Do you know or have a source code on how to do that by any chance?


Also what about my LZSS compression problem? :)

Joe Forster/STA 21-11-2011 16:56

There are hundreds of "minimize to tray" programs out there but because 1) none did exactly what I wanted and 2) I've been in a C coding spree for years anyway ;) I wrote my own. Drop me an E-mail and I'll send to you the binary as well as the full source (MinGW/gcc 4.5+ needed for compilation). And, no, it's not trivial how to do it... :)

Sorry, I can't help you with your other problem; I'm not very familiar with compression beyond the basic knowledge and some hacking.

ptsz 21-11-2011 20:30

Oh, thanks. I will do that. :)

I'll send it by PM if thats ok.

Glad you have it in C as well. :)

Also, how does it work? So you have/made an app to minimize another to the tray right? But obviously I could input the same code into the app I would like to minimize itself right?

Joe Forster/STA 22-11-2011 04:46

Minimizing your own application into the tray is pretty easy; minimizing another application is complicated. ;)

(E-mail addresses on common mail providers are scrubbed in PM's as well as the public forum, to protect them against E-mail address harvesters that spammers use. Mine is protected well against spam anyway so send me an E-mail.)

TippeX 22-11-2011 07:27

the compression thing sounds like the algo is going bad somewhere or there is some crypto on the buffer after x bytes, usually thats the cause...try using the algo to compress something else then decompress and compare

ptsz 22-11-2011 09:32

I don't have the algo though, to test out on other things. I did do some searching but didn't find exactly what I wanted.

I just got something to test it, some sort of LZSS v0.0.1 tool, it works fine with files above 200k.

But in any case, here is the unpack script that it uses to unpack the files:

Code:

script temp removed
It is said to contain some errors (possibly?), maybe you can tell? I have the files ready in case you wanna give it a shot.

I haven't done any LZSS compression or such so far though, only tried to extract it for quite a while by now. :)

links4all 21-01-2012 04:46

You can check the source of UPX of course for this.
I know another website which uses this technique and publiced some information about the headers, I thought it was http://www.exesecure.com, they do the same actually. Maybe you can recompile the program for convenience.


All times are GMT -7. The time now is 07:14.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com