[REBOL] Re: MAPI programming?
From: doublec::acc::co::nz at: 4-Sep-2001 9:43
I've always found MAPI programming to be one of the more confusing aspects of Windows
programming. That probably explains why just about everyone uses a pre-built control
to do the work.
There are three MAPI apis you can use:
1) Simple MAPI
2) Common Messaging calls (CMC)
3) CDO
The first two have C interfaces rather than COM so they'd probably be a better choice.
You're more likely to find documentation and examples on 'Simple MAPI' so that might
be a better option. The MSDN has some examples on how to use it. According to the MSDN,
you need to load the libraries and get the procedure addresses for the functions:
hlibMAPI = LoadLibrary("MAPI32.DLL"); // 32 bit clients
...
lpfnMAPILogon = (LPFNMAPILOGON) GetProcAddress
(hlibMAPI, "MAPILogon")))
It goes on with examples for sending/receiving messages, etc. What is the task you are
trying to do?
Chris.
--
http://www.double.co.nz/dylan