Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

private methods in COM objects and public variables in COM objects

Status
Not open for further replies.

abramowi

Technical User
Joined
May 2, 2003
Messages
10
Location
GB
I have two questions.

First of all, how does one declare private methods in a COM object created in VC++.

I have a list of STATIC FINAL STRING constants that I want the user of the COM object to be able to access. How do I do this?

Thanks /Dave
 
1. Just like you declare any other private method. They are of course not published in the interface, so they are just regular methods without COM/ATL mumbo-jumbo.

2. Well, expose them through public methods.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top