Solved

using CDO NTS from C++

Posted on 2000-04-12
1
248 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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.
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.

622 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