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. Passing data from any app to Visual C++ COM objects

Passing data from any app to Visual C++ COM objects

Scheduled Pinned Locked Moved C / C++ / MFC
c++comxmlquestion
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.
  • E Offline
    E Offline
    Emilio Guijarro
    wrote on last edited by
    #1

    Hi, I need to exchange numeric and string data between several application types (Visual Basic, VBScript in web pages...) and a Visual C++ COM object; a lot of information should be transfered in any call and simple parameter exchange looks not too smart. What should I do? XML or something else? Thanks. :) "nobody knows it, but you´ve got a secret smile, and you use it only for me"

    L M 2 Replies Last reply
    0
    • E Emilio Guijarro

      Hi, I need to exchange numeric and string data between several application types (Visual Basic, VBScript in web pages...) and a Visual C++ COM object; a lot of information should be transfered in any call and simple parameter exchange looks not too smart. What should I do? XML or something else? Thanks. :) "nobody knows it, but you´ve got a secret smile, and you use it only for me"

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      dde still works for some apps xml is a smart extensible way to go tho depends on the frequency of the data exchanges ... if they are real time it might not be good ... then u would have to go named pipes or something


      "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
      sonork: 100.18128   8028finder.com

      1 Reply Last reply
      0
      • E Emilio Guijarro

        Hi, I need to exchange numeric and string data between several application types (Visual Basic, VBScript in web pages...) and a Visual C++ COM object; a lot of information should be transfered in any call and simple parameter exchange looks not too smart. What should I do? XML or something else? Thanks. :) "nobody knows it, but you´ve got a secret smile, and you use it only for me"

        M Offline
        M Offline
        Mel Stober
        wrote on last edited by
        #3

        You could put them into a SAFEARRAY and pass it as one argument in a VARIANT.

        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