Solved

using CDO NTS from C++

Posted on 2000-04-12
1
236 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
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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 …
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

791 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