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

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


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: <[email protected]>
    To: "Kernel Debugging Interest List" <[email protected]>
    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: [email protected]
    > 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. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Internals & Software Drivers 15 November 2021 Live, Online
Writing WDF Drivers TBD Live, Online
Developing Minifilters 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online