Zitat: |
RetCompress unit ============================================================= author: retnyg @ krazz.net/retnyg ============================================================= License: use this code whereever you want, but keep credits ============================================================= uses a undocumented API of ntdll to compress data. compression rate is similar to ZIP, but a lot faster. disadvantage: needs winNT, API may be changed or abandoned in the future. i added also the routines Inflate/Deflate, which just packs sequential #0's, which is quite effective when packing small exe's. take also a look at the function HardCodedString, it's commented out, because it needs the command inttostr, which is in sysutils. It can be used to Hardcode a binary string into a delphi app, such as to generate an exe by code. example application can be found here: http://www.delphipraxis.net/topic54428_batch+dateien.html ( batch2exe, also written by me ) Information about the used Api Commands can be found here: http://undocumented.ntinternals.net/ |
Entwickler-Ecke.de based on phpBB
Copyright 2002 - 2011 by Tino Teuber, Copyright 2011 - 2025 by Christian Stelzmann Alle Rechte vorbehalten.
Alle Beiträge stammen von dritten Personen und dürfen geltendes Recht nicht verletzen.
Entwickler-Ecke und die zugehörigen Webseiten distanzieren sich ausdrücklich von Fremdinhalten jeglicher Art!