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#
  4. Question about global common areas

Question about global common areas

Scheduled Pinned Locked Moved C#
6 Posts 3 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.
  • T Offline
    T Offline
    tmagoo
    wrote on last edited by
    #1

    Does anyone have any information, examples, or ideas about Global Common, Shared memory, File Mapping, etc...? I am trying to share a structure of information between 3 different applications. The shared area needs to be accessed every 100 milliseconds. Any kind of idea will be appreciated. Thanks, Tom

    M T 2 Replies Last reply
    0
    • T tmagoo

      Does anyone have any information, examples, or ideas about Global Common, Shared memory, File Mapping, etc...? I am trying to share a structure of information between 3 different applications. The shared area needs to be accessed every 100 milliseconds. Any kind of idea will be appreciated. Thanks, Tom

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

      Maybe .Net Remoting will work for you. :confused:


      43 68 65 65 72 73 2c 4d 69 63 68 61 65 6c

      T 1 Reply Last reply
      0
      • M Michael Mac

        Maybe .Net Remoting will work for you. :confused:


        43 68 65 65 72 73 2c 4d 69 63 68 61 65 6c

        T Offline
        T Offline
        tmagoo
        wrote on last edited by
        #3

        :~ I have done very little with .Net Remoting. I am under the impression that .Net Remoting simply uses network sockets to pass objects between applications "behind the scenes". I am worried that this will not be fast enough for the updates that I need. I may be wrong about the above. Anymore ideas?:~ Tom

        1 Reply Last reply
        0
        • T tmagoo

          Does anyone have any information, examples, or ideas about Global Common, Shared memory, File Mapping, etc...? I am trying to share a structure of information between 3 different applications. The shared area needs to be accessed every 100 milliseconds. Any kind of idea will be appreciated. Thanks, Tom

          T Offline
          T Offline
          tmagoo
          wrote on last edited by
          #4

          X| I am looking at using something more time dedicated other than socket routines. I was hoping to see if anyone has implemented something close to the kernel32.lib routines "CreateFileMapping and MapViewOfFile". I have used "CreateFileMapping and MapViewOfFile" with Visual Basic 6.0 and Visual C++ 6.0 and it worked as I expected it to. Does C# have anything like these routines? Can C# use the kernel32.lib? X|

          L 1 Reply Last reply
          0
          • T tmagoo

            X| I am looking at using something more time dedicated other than socket routines. I was hoping to see if anyone has implemented something close to the kernel32.lib routines "CreateFileMapping and MapViewOfFile". I have used "CreateFileMapping and MapViewOfFile" with Visual Basic 6.0 and Visual C++ 6.0 and it worked as I expected it to. Does C# have anything like these routines? Can C# use the kernel32.lib? X|

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #5

            Tom McDaniel wrote: Can C# use the kernel32.lib? Yes, via the DllImportAttribute C# can use most, if not all, extern functions from an umanaged dll. See further down the forums, in the last week we had quite alot of talk about it. Also look at MSDN, NET Framework Developer's Guide, Interoperating with Unmanaged Code Section. Hope this helps :) MYrc : A .NET IRC client with C# Plugin Capabilities. See http://sourceforge.net/projects/myrc for more info. :-D

            T 1 Reply Last reply
            0
            • L leppie

              Tom McDaniel wrote: Can C# use the kernel32.lib? Yes, via the DllImportAttribute C# can use most, if not all, extern functions from an umanaged dll. See further down the forums, in the last week we had quite alot of talk about it. Also look at MSDN, NET Framework Developer's Guide, Interoperating with Unmanaged Code Section. Hope this helps :) MYrc : A .NET IRC client with C# Plugin Capabilities. See http://sourceforge.net/projects/myrc for more info. :-D

              T Offline
              T Offline
              tmagoo
              wrote on last edited by
              #6

              :)Thanks for the answer. This is what I have been looking for. Your help is greatly appreciated.:) Tom

              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