Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMessage Closed Pin
17-Sep-22 8:17
Member 1496877117-Sep-22 8:17 
AnswerRe: basic C++ question... Pin
David Crow17-Sep-22 15:44
David Crow17-Sep-22 15:44 
GeneralRe: basic C++ question... Pin
Richard MacCutchan17-Sep-22 21:16
mveRichard MacCutchan17-Sep-22 21:16 
QuestionMessage Closed Pin
16-Sep-22 7:38
Member 1496877116-Sep-22 7:38 
AnswerRe: Help with xterm Pin
Richard MacCutchan16-Sep-22 22:26
mveRichard MacCutchan16-Sep-22 22:26 
AnswerRe: Help with xterm Pin
k505417-Sep-22 5:09
mvek505417-Sep-22 5:09 
Questionhow to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 12:03
samzcs11-Sep-22 12:03 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 12:24
professionalGreg Utas11-Sep-22 12:24 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:29
samzcs11-Sep-22 13:29 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:34
samzcs11-Sep-22 13:34 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 13:46
professionalGreg Utas11-Sep-22 13:46 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Mircea Neacsu11-Sep-22 15:09
Mircea Neacsu11-Sep-22 15:09 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Richard MacCutchan12-Sep-22 0:00
mveRichard MacCutchan12-Sep-22 0:00 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
magnomagna23-Sep-22 4:06
magnomagna23-Sep-22 4:06 
QuestionMAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 21:15
jur20028-Sep-22 21:15 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Richard MacCutchan8-Sep-22 21:19
mveRichard MacCutchan8-Sep-22 21:19 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 22:24
jur20028-Sep-22 22:24 
One of the simplest variants I taked from Sending Email with MAPI, "Attachment" example. It works perfectly on my computer, but cannot send email on other.

My send mail code fragment is:
C++
LHANDLE lhSession;
ULONG result = lpfnMAPILogOn(0, NULL, NULL, 0, 0, &lhSession);

ULONG nSent = lpfnMAPISendMail(lhSession, 0, &MAPImsg, MAPI_LOGON_UI | MAPI_DIALOG, 0);

lpfnMAPILogOff(lhSession, 0, 0, 0);
Variable result is OK, but nSent is MAPI_E_NOT_SUPPORTED (code 26).

Complete example project there: Probe3.7z - Google Drive.
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Richard MacCutchan8-Sep-22 23:23
mveRichard MacCutchan8-Sep-22 23:23 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Victor Nijegorodov8-Sep-22 22:00
Victor Nijegorodov8-Sep-22 22:00 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 23:07
jur20028-Sep-22 23:07 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Victor Nijegorodov8-Sep-22 23:25
Victor Nijegorodov8-Sep-22 23:25 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Randor 8-Sep-22 23:24
professional Randor 8-Sep-22 23:24 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20029-Sep-22 0:44
jur20029-Sep-22 0:44 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Randor 9-Sep-22 1:10
professional Randor 9-Sep-22 1:10 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Gerry Schmitz9-Sep-22 15:54
mveGerry Schmitz9-Sep-22 15:54 

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.