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. COM
  4. Passing user defined class object's to method of Interface?

Passing user defined class object's to method of Interface?

Scheduled Pinned Locked Moved COM
comsysadminbusinesstutorialquestion
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.
  • V Offline
    V Offline
    viral_umang hotmail com
    wrote on last edited by
    #1

    Hi all! I want to pass the object(say studentobj having members:id,name,sub1mark,sub2mark)from VB client to the method of interface. requirements: 1) I want that the passed object's should be stored in COM servers student class (a class added in the com server) other than the interface class. 2) COM Server is having a method in interface that returns the student object that has got the 1st rank among the other student. All I want to know is only how to pass and return objects to and from COM Servers. Thanks in Advance. Viral Joshi.

    P 1 Reply Last reply
    0
    • V viral_umang hotmail com

      Hi all! I want to pass the object(say studentobj having members:id,name,sub1mark,sub2mark)from VB client to the method of interface. requirements: 1) I want that the passed object's should be stored in COM servers student class (a class added in the com server) other than the interface class. 2) COM Server is having a method in interface that returns the student object that has got the 1st rank among the other student. All I want to know is only how to pass and return objects to and from COM Servers. Thanks in Advance. Viral Joshi.

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      Have a look at this[^] article. It states how to use such struct in COM objects.


      Prasad MS MVP -  VC++

      V 1 Reply Last reply
      0
      • P prasad_som

        Have a look at this[^] article. It states how to use such struct in COM objects.


        Prasad MS MVP -  VC++

        V Offline
        V Offline
        viral_umang hotmail com
        wrote on last edited by
        #3

        Hi! Prasad_som thanks very much for the support. I'll see the details of this article and will definately revert back to you. And it is sure that i am going to take your help whenever there are problems in the road of COM & ActiveX In ATL. Once again very much thanks for the cooperation. Viral Joshi

        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