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. Mobile Development
  3. Mobile
  4. How to fix starting address of shared memory

How to fix starting address of shared memory

Scheduled Pinned Locked Moved Mobile
helpcsharpperformancetutorial
2 Posts 1 Posters 0 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.
  • S Offline
    S Offline
    subramjobmail
    wrote on last edited by
    #1

    Dear Friends, Did anybody knows how to create shared memory in C language that will always having the same starting address. I have a situation where i need to have shared memory concept to share data between multi processes. But at the same time i want my shared memory should only start from say 0x00112233 location. My environment is Windows CE .NET (ARM processor) and using C language for programming. Can anybody help me in this regard. Thanks and Best Regards, subramjobmail, 2003/07/01 (16:36 JST).

    S 1 Reply Last reply
    0
    • S subramjobmail

      Dear Friends, Did anybody knows how to create shared memory in C language that will always having the same starting address. I have a situation where i need to have shared memory concept to share data between multi processes. But at the same time i want my shared memory should only start from say 0x00112233 location. My environment is Windows CE .NET (ARM processor) and using C language for programming. Can anybody help me in this regard. Thanks and Best Regards, subramjobmail, 2003/07/01 (16:36 JST).

      S Offline
      S Offline
      subramjobmail
      wrote on last edited by
      #2

      Dear Friends, I got that i can not fix the starting address of the shared memory. Actually my problem is below. I am creating shared memory using CreateFileMapping(). By using the MapViewOfFile() i am creating a view for the shared memory i want. I want to create this view at my specified address always(ie how many times i call the MapViewOfFile() i want it to be created always at specified address). I can do that using lpBaseAddress parameter of MapViewOfFileEx(). But this function is not supported in Windows CE .NET. Can anybody suggest any alternative for this. Thanks and Best Regards, subramjobmail, 2003/07/02 (15:16 JST).

      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