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. COM
  4. C++

C++

Scheduled Pinned Locked Moved COM
c++helpquestion
2 Posts 2 Posters 6 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.
  • H Offline
    H Offline
    Hank
    wrote on last edited by
    #1

    Have a look at this and can anyone help me ? classA.h class A { class B; method_A; method_AA; }; *********************** classB.h class B { Method_B; Method_BB; }; How (if one can that is) do I access a method in class A say method_A from the Method_B in class B ?

    K 1 Reply Last reply
    0
    • H Hank

      Have a look at this and can anyone help me ? classA.h class A { class B; method_A; method_AA; }; *********************** classB.h class B { Method_B; Method_BB; }; How (if one can that is) do I access a method in class A say method_A from the Method_B in class B ?

      K Offline
      K Offline
      Kevin
      wrote on last edited by
      #2

      Make Class B the friend of class A

      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