CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002
    Location
    Sofia, Bulgaria
    Posts
    661

    Get virtual memory page size

    Hey I need to get the size of a virtual memory page. I am creating a small memory tool that needs to align some blocks in order to efficiently protect them. So far it's working fine, assuming the size is 4kb, but I know it can be 2mb sometimes.

    Is there a way to check this?
    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames

  2. #2
    Join Date
    Nov 2002
    Location
    Sofia, Bulgaria
    Posts
    661

    Re: Get virtual memory page size

    Nevermind
    I found it. It got it with GetSystemInfo
    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames

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