Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

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

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    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: <xxxxx@hotmail.com>
    To: "Kernel Debugging Interest List" <xxxxx@lists.osr.com>
    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')
Sign In or Register to comment.

Howdy, Stranger!

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

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA