CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Posts
    1

    forced software in non-paged pool

    hi,

    I want to force a soft to stay in non-paged pool memory in user mode.

    is there someone have an idea?

    Jaltus

  2. #2
    Join Date
    Jul 2002
    Location
    Don't Know, Don't Care
    Posts
    346

    Re: forced software in non-paged pool

    First, I'm not sure if NT based systems will allow this, generally the OS is responsible for allocating program memory. On a win 9x machine you could do it in assembly (even with C perhaps but I've never done memory management with C). Also, on an NT machine, if you disabled the paging file, that would get you the results you want, but it's not exactly a programmatic fix.

    C G C F A D--Feel the Noise

    "When your life goes nowhere and leads back to me, doesn't that tell you something?"
    ~Gray Area Fury

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured