Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: any way to detect, catch or provent crash from an invalid pointer? Pin
jschell9-May-11 9:29
jschell9-May-11 9:29 
AnswerRe: any way to detect, catch or provent crash from an invalid pointer? Pin
varunpandeyengg9-May-11 22:47
varunpandeyengg9-May-11 22:47 
QuestionHow correctly set User Properties to MS Outlook Mail Item in MFC Pin
Member 29729929-May-11 5:19
Member 29729929-May-11 5:19 
AnswerRe: How correctly set User Properties to MS Outlook Mail Item in MFC Pin
David Crow9-May-11 6:00
David Crow9-May-11 6:00 
GeneralRe: How correctly set User Properties to MS Outlook Mail Item in MFC Pin
Member 29729929-May-11 6:16
Member 29729929-May-11 6:16 
GeneralRe: How correctly set User Properties to MS Outlook Mail Item in MFC Pin
David Crow9-May-11 6:26
David Crow9-May-11 6:26 
AnswerRe: How correctly set User Properties to MS Outlook Mail Item in MFC Pin
Roger Broomfield9-May-11 7:11
Roger Broomfield9-May-11 7:11 
GeneralRe: How correctly set User Properties to MS Outlook Mail Item in MFC Pin
Member 297299210-May-11 12:09
Member 297299210-May-11 12:09 
Hi
I have tried your suggestion and that did work! However, because one of parameters is a bool what is the correct syntax for passing a bool? Would it be COleVariantBool varOptionalBool (VT_TRUE, VT_ERROR); ?

Further, when the line for saving the properties is called InvokeHelper(0xf048, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
It gives an unhandled exception again. Looking at the MS Office VBA for this, properties don't save method, and it appears to me that when you add and set the properties this carries out the saving. Have I got this wrong? Is there something else I need to do?

Thanks
GeneralRe: How correctly set User Properties to MS Outlook Mail Item in MFC Pin
Roger Broomfield10-May-11 15:47
Roger Broomfield10-May-11 15:47 
Questionwhich book should read? Pin
baojianbing9-May-11 4:42
baojianbing9-May-11 4:42 
AnswerRe: which book should read? Pin
Maximilien9-May-11 4:53
Maximilien9-May-11 4:53 
GeneralRe: which book should read? Pin
baojianbing9-May-11 14:32
baojianbing9-May-11 14:32 
AnswerRe: which book should read? Pin
Dalek Dave19-May-11 13:17
professionalDalek Dave19-May-11 13:17 
QuestionGet amount of free memory Pin
jung-kreidler9-May-11 4:24
jung-kreidler9-May-11 4:24 
AnswerRe: Get amount of free memory Pin
David Crow9-May-11 5:53
David Crow9-May-11 5:53 
GeneralRe: Get amount of free memory Pin
jung-kreidler9-May-11 22:30
jung-kreidler9-May-11 22:30 
GeneralRe: Get amount of free memory Pin
David Crow10-May-11 2:20
David Crow10-May-11 2:20 
GeneralRe: Get amount of free memory Pin
jung-kreidler10-May-11 20:37
jung-kreidler10-May-11 20:37 
AnswerRe: Get amount of free memory Pin
Luc Pattyn9-May-11 6:28
sitebuilderLuc Pattyn9-May-11 6:28 
GeneralRe: Get amount of free memory Pin
jung-kreidler9-May-11 20:00
jung-kreidler9-May-11 20:00 
QuestionMissing COM dll for IE 08 Toolbar Development Pin
varunpandeyengg9-May-11 0:41
varunpandeyengg9-May-11 0:41 
AnswerRe: Missing COM dll for IE 08 Toolbar Development Pin
Hans Dietrich9-May-11 1:01
mentorHans Dietrich9-May-11 1:01 
GeneralRe: Missing COM dll for IE 08 Toolbar Development Pin
varunpandeyengg9-May-11 1:25
varunpandeyengg9-May-11 1:25 
AnswerRe: Missing COM dll for IE 08 Toolbar Development Pin
Hans Dietrich9-May-11 2:39
mentorHans Dietrich9-May-11 2:39 
GeneralRe: Missing COM dll for IE 08 Toolbar Development Pin
varunpandeyengg9-May-11 23:00
varunpandeyengg9-May-11 23:00 

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.