Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. MapViewOfFileEx

MapViewOfFileEx

Scheduled Pinned Locked Moved System Admin
performancequestion
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jan larsen
    wrote on last edited by
    #1

    I have been trying to find a way to map a view of a file in to a pre-selected base address using the MapViewOfFileEx() function. This works perfectly fine on NT if the base address is 0x60000000, but the same address does not work on Win95 due to the differences in the virtual memory handling. Does anybody out there know an address which can be used for Win95?, or even better: on both platforms. I am not trying to map more than about 50MB, but it is crucial that i can get the same base pointer every time i load the file. Jan "It could have been worse, it could have been ME!"

    M 1 Reply Last reply
    0
    • J jan larsen

      I have been trying to find a way to map a view of a file in to a pre-selected base address using the MapViewOfFileEx() function. This works perfectly fine on NT if the base address is 0x60000000, but the same address does not work on Win95 due to the differences in the virtual memory handling. Does anybody out there know an address which can be used for Win95?, or even better: on both platforms. I am not trying to map more than about 50MB, but it is crucial that i can get the same base pointer every time i load the file. Jan "It could have been worse, it could have been ME!"

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      jan larsen wrote: Does anybody out there know an address which can be used for Win95?, or even better: on both platforms Sorry, the allowable ranges don't overlap. Advanced Windows says 0x80000000 to 0xBFFFFFFF for 9x, 0x00010000 to 0x7FFEFFFF for NT. --Mike-- "COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell."   -- John Simmons, 1/22/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups