+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Senior Member n0v4's Avatar
    Join Date
    Jan 2006
    Location
    No Info
    Posts
    195

    Question Small WinInet, Windows, SysUtils.

    Hi everybody. I am now working on some intrusting project. I need smaller versions of these delphi components(WinInet, Windows, SysUtils). Because i need to reduce my projects size. maybe someone know where to get it?

    Sory for bad english.

  2. #2
    Senior Member ciccio's Avatar
    Join Date
    Jul 2005
    Posts
    206

    Hi

    upx -9 your_file.exe

  3. #3
    Senior Member -silent-'s Avatar
    Join Date
    May 2005
    Posts
    1,374
    @ n0v4

    how big is your file at the minute?

    are you using console app?

    is it the server file which you are tring to make smaller?
    00101101 01110011 01101001 01101100 01100101 01101110 01110100 00101101


  4. #4
    Senior Member
    Join Date
    Mar 2005
    Posts
    421
    1st of all, drop VCL if your using it and code the server in api. you will end up around 13kb.

    then, if you really want to make it small. code a stub for it which compresses the size with eg zip or whatever, then pack your application. you will end up around 6-7 kb if ur stub code is good

  5. #5
    Senior Member n0v4's Avatar
    Join Date
    Jan 2006
    Location
    No Info
    Posts
    195
    Hi Thanx for your replies. I am making keylogger it's a dll and it's size is 53KB when i compile it. When I pack it with aspack it goes 33KB. But i think there must be a way to make it smaller.

  6. #6
    Member DXsTuK's Avatar
    Join Date
    Jan 2006
    Posts
    51
    Copy - Paste the functions you use and really need for the job

  7. #7
    Member DXsTuK's Avatar
    Join Date
    Jan 2006
    Posts
    51
    Of course the windows.pas is the basic unit for any program; however, for the SysUtils.pas you can copy the functions you need and maybe remove others and wrap it up into a new lite unit ...

    Example - Getting the StrToInt function out of SysUtils.pas into your project - :

    Code:
     function StrToInt(S: string): integer;
     begin
      Val(S, Result, Result);
     end;

  8. #8
    Senior Member n0v4's Avatar
    Join Date
    Jan 2006
    Location
    No Info
    Posts
    195
    Thanx for help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. lite Socket component [for small servers]
    By LttCoder in forum Components
    Replies: 3
    Last Post: 26-07-2007, 11:58
  2. KOL sysutils and classes
    By BuGGz in forum Delphi Help
    Replies: 0
    Last Post: 09-01-2006, 00:21
  3. iwant a small good keylogger
    By AlinuX in forum Delphi Help
    Replies: 3
    Last Post: 17-11-2005, 14:32
  4. small webserver
    By -silent- in forum General Programming Help
    Replies: 12
    Last Post: 08-09-2005, 23:25
  5. Error on Small Server / Its disconnecting. [Help Me]
    By TruvaDonkey in forum General Programming Help
    Replies: 1
    Last Post: 05-08-2005, 21:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.