• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

using CDO NTS from C++

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
msiman
Asked:
msiman
1 Solution
 
teerawatwCommented:
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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now