Click here to Skip to main content
15,881,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
To pass a bool use one of these
COleVariant varTRUE((short)-1,VT_BOOL);
COleVariant varFALSE((short)0,VT_BOOL);
I am unsure why Save (0xf048) would cause an exception. What is the exception ?

I am also unsure why you dont use type-safe methods of invoking Outlook. Open the Class Wizard dialog "key combination Ctrl+W". Click "Add Class...". Click "From a type library...". Locate your MSOUTLxx.OLB, mine is in "C:\Program Files\Microsoft Office\Office12" click Open. Select the appropriate classes, or all of them, and click OK. This will add to your project header and implementation files that, in my humble opinion, will make your life easier.
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 
QuestionMy owner draw button doesn't respond to mouse hover Pin
Cold_Fearing_Bird9-May-11 0:15
Cold_Fearing_Bird9-May-11 0:15 

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.