merging 2 .exe together or/and calling win32.exe from C source

category: general [glöplog]
i would like to know if is possible to merge 2 .exe files together or, how is effective way call from C source proper win32 .exe? thank you
added on the 2009-09-15 21:24:48 by lilibox lilibox
well, thank you guys/dols for your all responses, but seems i'll be forced to situation when I must merge 2 .exes to one win32.exe compact file, is it possible?
added on the 2009-09-16 14:57:01 by lilibox lilibox
copy /b a.exe+b.exe c.exe </comedy_option_questionmark>

Why do you even WANT do string 2 unrelated pieces of software together this way?
added on the 2009-09-16 15:02:58 by tomaes tomaes
do > to
added on the 2009-09-16 15:03:35 by tomaes tomaes
friend of mine asked me if i could ask at some good places for this, he wanted it for someting like postprotection, some years ago he coded something , of course fast and "customer" used it in no disclosure way, but friend had problems with original sources and has no luck to build it again, soo he want code small .exe which will check additional license and if license pass previous oroginal exe will run .. dunno if it is good way ;-)
added on the 2009-09-16 16:06:59 by lilibox lilibox
He could write the code that does the additional check and add it to the end of the original exe's code section, then update the PE header so that the entrypoint is where the new code starts (he'll have to update some of the section descriptors as well).
Just an idea, really. It'd probably be pretty tedious to actually do it.
added on the 2009-09-16 16:18:03 by mic mic
and immensely easy to bypass with anyone with only a bit of decent programming skill
added on the 2009-09-16 18:23:58 by superplek superplek
added on the 2009-09-16 18:24:22 by superplek superplek
Sure, but his main concern seemed to be with merging two executables, so that was what I suggested a possible solution for. Cracking has never been an interest of mine, so I don't have any suggestions regarding how to implement copy protection that is hard to crack.
added on the 2009-09-16 19:54:52 by mic mic
what i understood, he created some custom app which is accessible for everyone on network and he want lock this app to that networks computers only
added on the 2009-09-16 19:58:29 by lilibox lilibox
added on the 2009-09-16 22:04:48 by sol_hsa sol_hsa