There's this utility: http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx Mark used to publish the source and it may still be available somewhere. You could ask on the forums from the sysinternals subsite.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
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 firstname.lastname@example.org
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
Are you that inept that you cannot figure out that if the code is currently figuring out which one of eight sides of a button is being clicked and performing a single action (e.g., updating a listbox), it could easily be changed to perform eight separate actions instead?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons