Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling functions in MSOE.dll

Status
Not open for further replies.

paulbent

Programmer
Mar 4, 2002
1,071
GB
I created a small ActiveX DLL project about 3 years ago to try calling the MAPI functions in MSOE.dll (Simple MAPI provider for Outlook Express). They're undocumented but if successful would enable one to emulate the functionality of the MAPI controls when Outlook Express 5 or 6 is the default mail client and Extended MAPI isn't present.

These days MAPI32.dll is just a stub that reads the registry and forwards the calls to the registered provider. If the provider is MSOE.dll and functions are declared from MAPI32.dll in VB, an unlisted error is raised when they are forwarded. However, if I bypass MAPI32.dll and declare functions from MSOE.dll it works except that it crashes after sending 2 e-mails! :-(

I quite often need this for a project but have never solved the crashing problem. If anyone would like to have a go please e-mail me at paulbent@northwindit.co.uk for a copy of the project. I'd love to get it working!

Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top