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. How to add automation methods and properties in VC++7.0

How to add automation methods and properties in VC++7.0

Scheduled Pinned Locked Moved C / C++ / MFC
c++questiontestingtoolstutorial
2 Posts 1 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
    Tim Ranker
    wrote on last edited by
    #1

    Could someone please tell me how one adds methods and properties(not functions and variables) in Visual C++7.0? In 6.0, we use to select the Automation tab in the Class Wizard and add methods and properties. It would also update the odl for us. What is the equivalent procedure or trick in 7.0? Kind regards, Tim

    T 1 Reply Last reply
    0
    • T Tim Ranker

      Could someone please tell me how one adds methods and properties(not functions and variables) in Visual C++7.0? In 6.0, we use to select the Automation tab in the Class Wizard and add methods and properties. It would also update the odl for us. What is the equivalent procedure or trick in 7.0? Kind regards, Tim

      T Offline
      T Offline
      Tim Ranker
      wrote on last edited by
      #2

      I discovered the answer to my own question and I'll answer it here in case someone else needs to do the same thing. I was expecting to add properties and methods by selecting the class in the ClassView and right clicking for the popup menu, but you can only add class member variables and functions. To add methods and properties to any interfaces in your classes, you need to find and select the application's type library listed in the ClassView. It is represented by a gray rectangle with rounded corners with a node extruding from the left side. If you expand the library, you will see a list of interfaces that exist in your project. Select the appropriate interface, right click, and add your methods and properties. I hope this helps someone else. Kind regards, Tim

      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