How patch an exe file.......

Hi

I like to patch a byte in object file. Please answers to all following
questions…

  1. What is the utility used to patch a byte in object file ( I mean
    executable file) at certain offset in the text segment ?

  2. Where can I download above utility from ( any websites ) ?

  3. What is the GUI API which makes a new created window to disable minimise
    and stays always on screen and also appears on top of all other application
    windows ? How make this window back to minimisizing ? What changes I have
    to make in the parameters passed to this API to make window to minimize ?

Hope to listen from WINDBG experts soon.

Thanks & Regards
–Avis

  1. MSVC Visual Studio.
    Use “Open File”, then in the dialog select
    File type : “All types”
    Open as: “Binary”
    and pick the file you want to edit.
    You have to go to the desired offset.
    All numbers must be entered as hex.

  2. it is MS Visual Studio, v. 5 and above…

  3. Search
    MSDN :
    User Interface Services :
    Windows User Interface :
    Windowing
    Windows :

  • About Windows :
    Window attributes.
  • Window relationships
  • Window Show State
  • Window Size and position
    Several APIs may have to be used together for the described task.

If you are using MFC, then you have to look up WND class.

Ilko

----- Original Message -----
From:
To: “Kernel Debugging Interest List”
Sent: Sunday, July 23, 2000 9:11 PM
Subject: [windbg] How patch an exe file…
> Hi
>
> I like to patch a byte in object file. Please answers to all following
> questions…
>
> 1. What is the utility used to patch a byte in object file ( I mean
> executable file) at certain offset in the text segment ?
>
> 2. Where can I download above utility from ( any websites ) ?
>
> 3. What is the GUI API which makes a new created window to disable
minimise
> and stays always on screen and also appears on top of all other
application
> windows ? How make this window back to minimisizing ? What changes I
have
> to make in the parameters passed to this API to make window to minimize ?
>
> Hope to listen from WINDBG experts soon.
>
> Thanks & Regards
> --Avis
>
> —
> You are currently subscribed to windbg as: xxxxx@intelligraphics.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)