Solved

sample code for creating com objects in Visual C++

Posted on 2003-11-05
4
206 Views
Last Modified: 2013-11-25
pls can anyone tell me how to create a 'com' in Visual C++

if that is a simple one that will be good for me to have a look and
also to access the methods from that.

thanks
Chelvan
0
Comment
Question by:p_chelvan
4 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 250 total points
ID: 9685518
0
 
LVL 2

Expert Comment

by:KaplanDani
ID: 9685539
Use the ATl Wizard to create a com app.
You can define there interface, and add methods..
then all you have is to implement them..
Dani
0
 
LVL 9

Expert Comment

by:tinchos
ID: 10242528
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: AlexFM {http:#9685518}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now