Click here to Skip to main content
15,900,254 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: the C/C++/MFC forum of all places [modified] Pin
CPallini19-Nov-10 2:21
mveCPallini19-Nov-10 2:21 
AnswerRe: How to Load Tiff File using LoadImage? Pin
Sarath C18-Nov-10 18:50
Sarath C18-Nov-10 18:50 
QuestionCallback Function for Timers in VC6......?? Pin
AmbiguousName18-Nov-10 8:43
AmbiguousName18-Nov-10 8:43 
AnswerRe: Callback Function for Timers in VC6......?? Pin
David Crow18-Nov-10 8:52
David Crow18-Nov-10 8:52 
AnswerRe: Callback Function for Timers in VC6......?? Pin
Chris Losinger18-Nov-10 8:52
professionalChris Losinger18-Nov-10 8:52 
AnswerRe: Callback Function for Timers in VC6......?? Pin
«_Superman_»18-Nov-10 8:57
professional«_Superman_»18-Nov-10 8:57 
GeneralRe: Callback Function for Timers in VC6......?? Pin
AmbiguousName18-Nov-10 9:03
AmbiguousName18-Nov-10 9:03 
GeneralRe: Callback Function for Timers in VC6......?? Pin
«_Superman_»18-Nov-10 9:11
professional«_Superman_»18-Nov-10 9:11 
AnswerRe: Callback Function for Timers in VC6......?? Pin
CPallini18-Nov-10 9:28
mveCPallini18-Nov-10 9:28 
GeneralRe: Callback Function for Timers in VC6......?? Pin
AmbiguousName18-Nov-10 9:45
AmbiguousName18-Nov-10 9:45 
GeneralRe: Callback Function for Timers in VC6......?? Pin
CPallini18-Nov-10 9:59
mveCPallini18-Nov-10 9:59 
GeneralRe: Callback Function for Timers in VC6......?? Pin
Stephen Hewitt18-Nov-10 17:49
Stephen Hewitt18-Nov-10 17:49 
GeneralRe: Callback Function for Timers in VC6......?? Pin
«_Superman_»18-Nov-10 10:11
professional«_Superman_»18-Nov-10 10:11 
AnswerRe: Callback Function for Timers in VC6......?? Pin
Stephen Hewitt18-Nov-10 17:47
Stephen Hewitt18-Nov-10 17:47 
QuestionMAPISendMail fails with error 2 on Microsoft Outlook 2003 with Win XP Pin
Rajesh_Parameswaran18-Nov-10 3:54
Rajesh_Parameswaran18-Nov-10 3:54 
Hi there,

I've an application which uses MAPI for sending mails.
It was all working well with Outlook 2007 on Win XP.

But when I work on Outlook 2003, with the same application, it is throwing an error - 2 (MAPI_E_FAILURE)when making a call to MAPISendMail() API.

I used the sample application to test whether there is any issue with Outlook 2003, from the following link: Programmatically adding attachments to emails[^]

but it seems to be working well. Only when I try to send mail from my old app, it always returns with the error 2.

I've googled and tried almost all possible steps, but the issue still exist.

ULONG nError = m_lpfnMAPISendMail(0, 0, &mapiMessage, MAPI_LOGON_UI|MAPI_DIALOG , 0);


please advise on the resolution.
Thanks in advance.

regards,
Rajesh
QuestionRe: MAPISendMail fails with error 2 on Microsoft Outlook 2003 with Win XP Pin
David Crow18-Nov-10 5:31
David Crow18-Nov-10 5:31 
QuestionGet Port Banner? Pin
ALLERSLIT18-Nov-10 3:17
ALLERSLIT18-Nov-10 3:17 
AnswerRe: Get Port Banner? Pin
Richard MacCutchan18-Nov-10 3:21
mveRichard MacCutchan18-Nov-10 3:21 
GeneralRe: Get Port Banner? Pin
ALLERSLIT18-Nov-10 3:22
ALLERSLIT18-Nov-10 3:22 
GeneralRe: Get Port Banner? Pin
Richard MacCutchan18-Nov-10 3:33
mveRichard MacCutchan18-Nov-10 3:33 
GeneralRe: Get Port Banner? Pin
ALLERSLIT18-Nov-10 3:53
ALLERSLIT18-Nov-10 3:53 
GeneralRe: Get Port Banner? Pin
Richard MacCutchan18-Nov-10 5:00
mveRichard MacCutchan18-Nov-10 5:00 
GeneralRe: Get Port Banner? Pin
Moak18-Nov-10 7:11
Moak18-Nov-10 7:11 
QuestionHow to set keyboard focus to the other windows in the z-order? Pin
Joseph Marzbani18-Nov-10 3:14
Joseph Marzbani18-Nov-10 3:14 
AnswerRe: How to set keyboard focus to the other windows in the z-order? Pin
Richard MacCutchan18-Nov-10 3:24
mveRichard MacCutchan18-Nov-10 3:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.