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.

Is it allowed to use "new" and "delete" in a WDM program

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Will it encounter problems?
???y˫????+.n?+?????"???j?.n?Qyȩf??]?:.?˛???m??֛???zf???%y???)?n.n?Qyȩ1??z?
??+-??+r?

Comments

  • Alexey_LogachyovAlexey_Logachyov Member Posts: 476
    Nope. But you can overload them to use ExAllocatePool (look through the ddk
    samples).

    ----- Original Message -----
    From: "lizheng" <[email protected]>
    To: "Kernel Debugging Interest List" <[email protected]>
    Sent: Monday, November 12, 2001 9:12 AM
    Subject: [windbg] Is it allowed to use "new" and "delete" in a WDM program


    > Will it encounter problems?
    > ??آ??y˫????+.n?????????j????????r?o$??{.n????zwZnV??隊[h???{?????}
    ?????l??+??&


    ---
    You are currently subscribed to windbg as: $subst('Recip.EmailAddr')
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
  • Alexey_LogachyovAlexey_Logachyov Member Posts: 476
    I meant no, you are not allowed. Using standard new and delete surely will
    encounter problems.

    ----- Original Message -----
    From: "Alexey Logachyov" <[email protected]>
    To: "Kernel Debugging Interest List" <[email protected]>
    Sent: Monday, November 12, 2001 1:14 PM
    Subject: [windbg] Re: Is it allowed to use "new" and "delete" in a WDM
    program


    > Nope. But you can overload them to use ExAllocatePool (look through the
    ddk
    > samples).
    >
    > ----- Original Message -----
    > From: "lizheng" <[email protected]>
    > To: "Kernel Debugging Interest List" <[email protected]>
    > Sent: Monday, November 12, 2001 9:12 AM
    > Subject: [windbg] Is it allowed to use "new" and "delete" in a WDM program
    >
    >
    > > Will it encounter problems?
    > > ??آ??y˫????+.n?????????j????????r?o$??{.n????zwZnV??隊[h???{????
    ?}
    > ?????l??+??&
    >
    >
    > ---
    > You are currently subscribed to windbg as: [email protected]
    > To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com


    ---
    You are currently subscribed to windbg as: $subst('Recip.EmailAddr')
    To unsubscribe send a blank email to leave-windbg-$subst('Recip.MemberIDChar')@lists.osr.com
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 24 January 2022 Live, Online
Developing Minifilters 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online