Need C++ headers for ActiveX control

Add-in Express™ Support Service
That's what is more important than anything else

Need C++ headers for ActiveX control
Outlook Security Manager missing headers 
George Cossey


Guest


I recently purchased the "Outlook Security Manager" package.


My goals are:

I have a C++ application, non-MFC, written for XP. I have code
for getting Outlook information in order to sync up to our
custom handheld unit. I get the security dialogs when my program
does the sync, which I would like to happen in the background.

I got the package in order to disable the alerts when I
access the data and then turn the alerts back on when I get done.

My expectation was to use my C++ application as an activeX
container application, load your OCX, query it to make the calls.
I am doing this exact same thing with MediaPlayer in order to
access the stored playlists it has. I create an invisible window,
load the ocx into it, query it for an interface, then make calls
to get the information.

Is this the right approach? It is working for MediaPlayer.

I started doing this with the osmax.ocx but found that I am missing
the interface files (C++ headers) to make it work. Can I get them?

Ideally, I would like a very simple sample C++ application that
just uses the ocx to make the calls to turn it on and off. And also
some instructions on what and where to install the ocx and dll.

thanks,

George Cossey

Posted 15 Jun, 2005 11:01:40 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi George.

I will prepare an example for you with my instructions regarding distribution of the ocx component. Would you like the ATL example?
As for C++ headers, you should add IDL file of the ocx component to the project and then build it. You will get the headers you need.
Posted 15 Jun, 2005 11:32:59 Top
Guest


Guest


Yes, I would like the example please.

cossey@BitSlinger.com

There is no IDL file to create the headers from. I was going to do
it that way but the package does not come with an IDL file.

thanks,

George
Posted 22 Jun, 2005 09:20:58 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi George.

We are not provide the IDL file for the OSM component.
You can generate this file using OLE/COM Object Viewer in VS.

Ok. I will develop an example for you.
Posted 22 Jun, 2005 09:38:09 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi George.

I have just sent you an ATL example. Please, check your mail box.
Posted 23 Jun, 2005 18:39:49 Top