Click here to Skip to main content
15,920,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I find an interesting and confusing code..have a look. Pin
CPallini13-Mar-09 9:07
mveCPallini13-Mar-09 9:07 
GeneralRe: I find an interesting and confusing code..have a look. Pin
JackPuppy13-Mar-09 9:30
JackPuppy13-Mar-09 9:30 
GeneralRe: I find an interesting and confusing code..have a look. Pin
bulg13-Mar-09 10:35
bulg13-Mar-09 10:35 
GeneralRe: I find an interesting and confusing code..have a look. Pin
JackPuppy13-Mar-09 10:38
JackPuppy13-Mar-09 10:38 
GeneralRe: I find an interesting and confusing code..have a look. Pin
bulg13-Mar-09 10:55
bulg13-Mar-09 10:55 
GeneralRe: I find an interesting and confusing code..have a look. Pin
Stuart Dootson13-Mar-09 13:57
professionalStuart Dootson13-Mar-09 13:57 
QuestionMAPI problem - PR_IPM_OUTBOX_ENTRYID doesn't exist?? Pin
tsunamisama13-Mar-09 8:04
tsunamisama13-Mar-09 8:04 
AnswerRe: MAPI problem - PR_IPM_OUTBOX_ENTRYID doesn't exist?? [modified] Pin
tha_specializt13-Jan-11 1:36
tha_specializt13-Jan-11 1:36 
well you wont find answers to such complex problems here ... way too many hobby-"developers" lurk around Wink | ;)
But you're lucky : i happen to develop a ExtendedMAPI - app myself right now, im running into the exact same problem - the cause of it seems to be the fact that PR_IPM_OUTBOX_ENTRYID is only valid in Office 2010 and Windows Mobile ... dont ask me why though - a quick look at the defined Propertys of Outlook 2003 reveals that PR_IPM_DRAFTS_ENTRYID seems to be valid and published - compiling a message as draft is better than not being able to do so at all; im trying it myself right now##

http://msdn.microsoft.com/en-us/library/cc160671.aspx[^]

Oh and you're certainly no "MAPI noob" anymore if you're already digging though Extended MAPI, writing your own apps ... this is way more than most of the scriptkiddies out there will ever be able to accomplish Cool | :cool:

EDIT :
OK your problem appears to be the store - you select the very first store, which is not always a valid one - for example : on Win7 x64, the first store is the archive-store which has an outbox which is not accessible via OpenEntry(), of course.
You need to explicitly select the default-store via PR_DEFAULT_STORE ... a more advanced approach would check for the capability of the default-store

modified on Friday, January 14, 2011 4:00 AM

GeneralRe: MAPI problem - PR_IPM_OUTBOX_ENTRYID doesn't exist?? Pin
sergiobuonanno19-Jul-11 3:44
sergiobuonanno19-Jul-11 3:44 
Questionthis pointer... Pin
siva45513-Mar-09 6:58
siva45513-Mar-09 6:58 
AnswerRe: this pointer... Pin
Maximilien13-Mar-09 7:34
Maximilien13-Mar-09 7:34 
GeneralRe: this pointer... Pin
CPallini13-Mar-09 7:53
mveCPallini13-Mar-09 7:53 
AnswerRe: this pointer... Pin
David Crow13-Mar-09 7:42
David Crow13-Mar-09 7:42 
AnswerRe: this pointer... Pin
CPallini13-Mar-09 7:49
mveCPallini13-Mar-09 7:49 
AnswerRe: this pointer... Pin
led mike13-Mar-09 9:00
led mike13-Mar-09 9:00 
GeneralRe: this pointer... Pin
Maximilien13-Mar-09 9:21
Maximilien13-Mar-09 9:21 
GeneralRe: this pointer... Pin
led mike13-Mar-09 12:05
led mike13-Mar-09 12:05 
GeneralRe: this pointer... Pin
Maximilien13-Mar-09 14:56
Maximilien13-Mar-09 14:56 
QuestionReg :: Customizing CDatetimeCtrl Pin
chandru.jeeva13-Mar-09 6:11
chandru.jeeva13-Mar-09 6:11 
QuestionPropertyPage Pin
shakumar_2213-Mar-09 6:08
shakumar_2213-Mar-09 6:08 
AnswerRe: PropertyPage Pin
Code-o-mat13-Mar-09 6:38
Code-o-mat13-Mar-09 6:38 
GeneralRe: PropertyPage Pin
shakumar_2214-Mar-09 2:31
shakumar_2214-Mar-09 2:31 
GeneralRe: PropertyPage Pin
Code-o-mat14-Mar-09 4:01
Code-o-mat14-Mar-09 4:01 
QuestionCreating derived type from a base class template Pin
Skippums13-Mar-09 6:00
Skippums13-Mar-09 6:00 
AnswerRe: Creating derived type from a base class template Pin
Stuart Dootson13-Mar-09 6:06
professionalStuart Dootson13-Mar-09 6:06 

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.