Go Back   FileForums > Off Topic > Software
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 21-11-2011, 12:17
TippeX's Avatar
TippeX TippeX is offline
zeroes and ones.....
 
Join Date: Jan 2003
Posts: 3,842
Thanks: 2
Thanked 33 Times in 23 Posts
TippeX is on a distinguished road
yup...AllocConsole etc...more overhead though.. maybe win10 or smth can go hybrid
__________________
bleh
DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you...
Reply With Quote
Sponsored Links
  #17  
Old 21-11-2011, 16:35
ptsz ptsz is offline
Registered User
 
Join Date: Nov 2011
Location: Offland
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
ptsz is on a distinguished road
Quote:
Originally Posted by Joe Forster/STA View Post
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?
Reply With Quote
  #18  
Old 21-11-2011, 16:56
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
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.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #19  
Old 21-11-2011, 20:30
ptsz ptsz is offline
Registered User
 
Join Date: Nov 2011
Location: Offland
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
ptsz is on a distinguished road
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?

Last edited by ptsz; 21-11-2011 at 20:32.
Reply With Quote
  #20  
Old 22-11-2011, 04:46
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
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.)
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #21  
Old 22-11-2011, 07:27
TippeX's Avatar
TippeX TippeX is offline
zeroes and ones.....
 
Join Date: Jan 2003
Posts: 3,842
Thanks: 2
Thanked 33 Times in 23 Posts
TippeX is on a distinguished road
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
__________________
bleh
DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you...
Reply With Quote
  #22  
Old 22-11-2011, 09:32
ptsz ptsz is offline
Registered User
 
Join Date: Nov 2011
Location: Offland
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
ptsz is on a distinguished road
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.

Last edited by ptsz; 25-11-2011 at 22:18.
Reply With Quote
  #23  
Old 21-01-2012, 04:46
links4all links4all is offline
Registered User
 
Join Date: Jan 2012
Location: Holland
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
links4all is on a distinguished road
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intro Removing, ISO Header Editor, and More Selfboot-Related Questions AMurderOfCrows DC Games 8 07-03-2010 09:14
Flat Out Protection t.foster73 PC Games 59 26-11-2004 01:39
Syberia executable archive indigo_soul PC Games 0 23-11-2002 17:04
Fixed Executable vs. NO-CD Executable jimshu1 PC Games 5 13-04-2002 13:51
Need a way to unpack and repack a big executable! Morglum007 CD/DVD Copy Protections & Utilities 3 19-10-2001 06:40



All times are GMT -7. The time now is 17:46.


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