active-x

M

Miguel Orell

Is it posible to use some of the features of the "Windows Mail" or the "MS
Outlook Express" programs programing an active-x command, just in the way we
can access, for example Office?
I'm using Acu Cobol and I can't see this components in the ACUCOBOL active-x
definition generator.
 
S

Sam Hobbs

See: microsoft.public.win32.programmer.messaging

That is a newsgroup for programmers. That might help.

Also see:
http://msdn.microsoft.com/en-us/library/ms709546(VS.85).aspx

Note that the documentation says "Do not use" in many places. It is probably
safe to use them except assume none of it will work with future versions of
Windows, since it is nearly guaranteed that the API will not work in future
Windows.

I am not sure what you need to do so I am not sure if any of the above is
useful to you. If Acu Cobol must have an IDispatch interface then it is
probable that Acu Cobol cannot use the OE API directly. There is an IDL file
for the OE API in the Windows SDK; if you can figure out how to generate a
type library from an IDL and if Acu Cobol can access a COM object using an
IUnkown interface, then it might be possible to do what you need to do.

There is something else called Simple MAPI; I think (I am not sure) it can
be used with Windows Mail. See the following for other possibilities.
http://msdn.microsoft.com/en-us/library/aa139844.aspx
 
S

Steve Cochran

OE and WinMail were not meant to be extensible as is Outlook. While one can
introduce ActiveX controls, it requires advanced programming in terms of
message composition and the recipients would have to override the default
settings and put OE or WinMail into the Internet zone in order for the
ActiveX control to function. Given that MS has abandoned support for OE and
WinMail, such pursuits would also not be very productive.

steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top