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. General Programming
  3. C / C++ / MFC
  4. Sending Device Context Through Shared Memory?

Sending Device Context Through Shared Memory?

Scheduled Pinned Locked Moved C / C++ / MFC
performancequestion
3 Posts 2 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.
  • L Offline
    L Offline
    Llasus
    wrote on last edited by
    #1

    Is it possible? I've been trying to send the object for some hours but I dont think it is possible since as far as I've read, the device context data lies on a different part of the memory. What I am trying to achieve is to send a CDC object from one application, to another almost every 200ms (the application which sends the CDC is hidden btw). I currently have 2 solutions so far (Use of 1. Clipboard, 2. Shared DLL) but I want to make sure first if there are other better ones out there. Hoping for your suggestions. Thank you.

    C 1 Reply Last reply
    0
    • L Llasus

      Is it possible? I've been trying to send the object for some hours but I dont think it is possible since as far as I've read, the device context data lies on a different part of the memory. What I am trying to achieve is to send a CDC object from one application, to another almost every 200ms (the application which sends the CDC is hidden btw). I currently have 2 solutions so far (Use of 1. Clipboard, 2. Shared DLL) but I want to make sure first if there are other better ones out there. Hoping for your suggestions. Thank you.

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Why do you want to do such a thing ? :confused:

      Cédric Moonen Software developer
      Charting control [v1.4]

      L 1 Reply Last reply
      0
      • C Cedric Moonen

        Why do you want to do such a thing ? :confused:

        Cédric Moonen Software developer
        Charting control [v1.4]

        L Offline
        L Offline
        Llasus
        wrote on last edited by
        #3

        part of the requirements given to me. never would think or might want to do that thing myself anyway :) one application is more of a graph maker and another is more of the overall application which manages all the dedicated applications (one is the graph maker).

        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