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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. marshalling

marshalling

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestioncareer
3 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.
  • K Offline
    K Offline
    kumar_mk
    wrote on last edited by
    #1

    asked in an interview--- what is marshalling in c++, pls give me a small code example. thanx in advance kumar_windows

    _ S 2 Replies Last reply
    0
    • K kumar_mk

      asked in an interview--- what is marshalling in c++, pls give me a small code example. thanx in advance kumar_windows

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      All data/variables that are passed as parameters to processes, or passed through contexts must have appropriate marshalling functions. These functions convert the data to and from a binary stream. The passing of data and values after being converted to binary stream is called "marshalling". Marshalling is acheived through the use of the classes mStream and umStream, which marshal and unmarshal data respectively. The global functions: mStream & operator<< (mStream & s, T const &v); umStream& operator>> (umStream& s, T &v); Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_

      1 Reply Last reply
      0
      • K kumar_mk

        asked in an interview--- what is marshalling in c++, pls give me a small code example. thanx in advance kumar_windows

        S Offline
        S Offline
        Stephen Hewitt
        wrote on last edited by
        #3

        The term "marshalling" usually refers to COM; specifically when you make an object in one apartment accessible in another. See Here[^] for details. Steve

        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