Hi everybody,

I builted an aplication that read emails from windows Mail. The MAPILogon returns 0, but when a try to send a MAPIFindNext before to use MAPIReadMail the return code is 16. There are emails unreaded in windows mail and i thing that the return code must be 0 for MAPIFindNext.

The windows mail is the default email manager.

I created an email account as "softools" and conected it to [email protected]

The MAPI in WIN.INI is 1 and set to MAPI32.DLL. I Loaded the MAPI31.DLL correctly with loadlibrary().

I thing is everything is fine but nothing is heppening

Some can help me ?

Sorry by poor english !