Solved

using CDO NTS from C++

Posted on 2000-04-12
1
241 Views
Last Modified: 2012-06-21
How can i use the CDONTS object from C++?
all the examples i found are in VB or JScript, which aren't good enoough for me.
10x,
   msiman
0
Comment
Question by:msiman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
teerawatw earned 100 total points
ID: 2733504
if you use vc++ you can use
#import  header which will generate *.tlh, *.tli file for you and you will access that object like those vb guys

you can see how to use import at msdn

if you do not use vc++
you have to use CoCreateInstance function
and access it via interface pointer (which harder to use than import)

you can view both method detail in msdn documentation
find index
#import
and
CoCreateInstance
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

752 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