Writing to an EXE - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Writing to an EXE

AsheboyAsheboy Posts: 23Member
What im trying to do is compare 2 files against each other in binary (done that part) then with the differences, make an EXE to add/subtract them differences to another EXE. I just have no idea AT ALL about how to have my program write an EXE.

Any ideas? Or am i just wasting my time?

Comments

  • BitByBit_ThorBitByBit_Thor Posts: 2,444Member
    : What im trying to do is compare 2 files against each other in binary (done that part) then with the differences, make an EXE to add/subtract them differences to another EXE. I just have no idea AT ALL about how to have my program write an EXE.
    :
    : Any ideas? Or am i just wasting my time?
    :

    I don't think there is any realistic hope of being able to let a VB program write a new EXE... unless it's sort of a 'template' thing where you have to insert certain blocks of code etc all very complicated and requiring a lot of knowledge of Machine code...

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry

  • AsheboyAsheboy Posts: 23Member
    : : What im trying to do is compare 2 files against each other in binary (done that part) then with the differences, make an EXE to add/subtract them differences to another EXE. I just have no idea AT ALL about how to have my program write an EXE.
    : :
    : : Any ideas? Or am i just wasting my time?
    : :
    :
    : I don't think there is any realistic hope of being able to let a VB program write a new EXE... unless it's sort of a 'template' thing where you have to insert certain blocks of code etc all very complicated and requiring a lot of knowledge of Machine code...
    :
    : Best Regards,
    : Richard
    :
    : The way I see it... Well, it's all pretty blurry
    :
    :


    Oh well, thanks anyway:)
  • BitByBit_ThorBitByBit_Thor Posts: 2,444Member
    Why does your program need to write an executable anyway? Why not just use your VB EXE to do the task?

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry

  • AsheboyAsheboy Posts: 23Member
    Well what im trying to make is a patch maker. It works by comparing two files (one that has been cracked, and one that hasnt). It finds teh differences and then makes an EXE to patch a file to have these differences. I hope its more clear what im trying to do now.
  • BitByBit_ThorBitByBit_Thor Posts: 2,444Member
    : Well what im trying to make is a patch maker. It works by comparing two files (one that has been cracked, and one that hasnt). It finds teh differences and then makes an EXE to patch a file to have these differences. I hope its more clear what im trying to do now.
    :

    Copy & Paste?

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry

  • AsheboyAsheboy Posts: 23Member
    oh well i dont think i can do it. It doesnt matter that much.
Sign In or Register to comment.