Attaching 2 EXEs together ???
Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Attaching 2 EXEs together ???

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    23

    Question Attaching 2 EXEs together ???

    Hello.

    Let's say, I got two different programs doing 2 different tasks, for e.g:

    Program A.EXE shows a message box "A" and exits.
    Program B.EXE shows a message box "B" and exits.

    I want to attach these two programs into a new C.EXE file which shows a message box "A" and then shows a message box "B".

    Is there a way to attach these two files together? or in other words, I need to bypass the command in A.EXE telling the program to exit.

    Any Idea?

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Posts
    267
    How about a batch file ?

    @echo off
    cls
    a.exe
    b.exe

    Write it in Notepad so there are no header codes or use Command prompt 'copy con' command

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Posts
    23
    Nice try, but I need it in an EXE file, not BAT

    Any other ideas?

  4. #4
    Senior Member
    Join Date
    Jun 2003
    Posts
    772
    idea: just put program a and b code in one program and recompile --> result program c
    Or do you want to attach a compiled program to another?
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

  5. #5
    Junior Member
    Join Date
    Aug 2003
    Posts
    23
    I wanna attach two already-compiled EXEs together.

    (And I dont wanna use a decompiler, for attaching the code together)

    Any Ideas?

  6. #6
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    You probably need to create some sort of wrapper program. This wrapper program contains both exes and when executed extracts them and runs them in order. I'm not sure but you might be able to do this with UPX.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  7. #7
    Junior Member
    Join Date
    Aug 2003
    Posts
    23
    The link you posted is broken for some reason...

    Anything else?

    P.S: all I'm trying to do is to make a passworder program.

    you know, I wanna add some EXE before the real EXE is about to run, and then, if correct password was given, go through the file itself and run it.

  8. #8
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Originally posted here by Purifier
    The link you posted is broken for some reason...
    Just checked it, URL seems fine. But here it is again: http://upx.sourceforge.net/
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  9. #9
    Junior Member
    Join Date
    Aug 2003
    Posts
    4
    Hm, It seems, that UPX is a packer for Executables, but not the solution for combining two executables.
    From further Windows-Versions, I know SILKROPE to combine two executables, normally taken to set BO to an additionally Executable.
    But you will get Problems with it when taking 32Bit-Windows like W2K. I could try to get a link to that. But if someone has a fully functional 32-Bit-Version...

    Greetings

    WA
    Greetings from

    http://www.AntiOnline.com/sig.php?imageid=481[Shadow] White Admin [/Shadow]

  10. #10
    Junior Member
    Join Date
    Aug 2003
    Posts
    23
    I don't understand how this UPX can help me.
    I am not looking for a compression method...

    Please explaing further.

    Thanks.

Posting Permissions

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