Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File Mapping Pin
bikram singh19-Jul-04 11:02
bikram singh19-Jul-04 11:02 
GeneralRe: File Mapping Pin
Toni7821-Jul-04 8:47
Toni7821-Jul-04 8:47 
GeneralUsing the Clipboard Pin
tunerica19-Jul-04 6:21
tunerica19-Jul-04 6:21 
GeneralRe: Using the Clipboard Pin
PJ Arends19-Jul-04 7:49
professionalPJ Arends19-Jul-04 7:49 
GeneralSending mail using CDOSYS Pin
Mike Beckerleg19-Jul-04 5:41
Mike Beckerleg19-Jul-04 5:41 
GeneralRe: Sending mail using CDOSYS Pin
Antti Keskinen19-Jul-04 14:35
Antti Keskinen19-Jul-04 14:35 
Generalfailing constructors Pin
Michael Farrugia19-Jul-04 5:24
Michael Farrugia19-Jul-04 5:24 
GeneralRe: failing constructors Pin
peterchen19-Jul-04 5:41
peterchen19-Jul-04 5:41 
1. The clean and legal way in C++ to handle a failing constructor is to throw an exception
2. If your construtor throws an exception, C++ will:
  - free the memory allocated for the object itself (if the allocation was dynamic)
  - call the desctructors of all members and base classes (that were initialized)

It will NOT, however, call the destructor of the object that failed the construction. Since the object was not constructed completely, it would be dangerous to call the destructor.



we are here to help each other get through this thing, whatever it is Vonnegut jr.

sighist || Agile Programming | doxygen

GeneralRe: failing constructors Pin
bikram singh19-Jul-04 11:25
bikram singh19-Jul-04 11:25 
GeneralRe: failing constructors Pin
Michael Farrugia19-Jul-04 22:53
Michael Farrugia19-Jul-04 22:53 
GeneralSetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 5:02
maxsteel19-Jul-04 5:02 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
vcplusplus19-Jul-04 5:52
vcplusplus19-Jul-04 5:52 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 18:42
maxsteel19-Jul-04 18:42 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
vcplusplus20-Jul-04 3:04
vcplusplus20-Jul-04 3:04 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
Alexander Wiseman19-Jul-04 5:56
Alexander Wiseman19-Jul-04 5:56 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
Ravi Bhavnani19-Jul-04 6:54
professionalRavi Bhavnani19-Jul-04 6:54 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 18:43
maxsteel19-Jul-04 18:43 
QuestionSDI Project - How do display a new Window object that is NOT On Top of the Main Window?? Pin
jerry1211a19-Jul-04 4:56
jerry1211a19-Jul-04 4:56 
AnswerRe: SDI Project - How do display a new Window object that is NOT On Top of the Main Window?? Pin
valikac19-Jul-04 5:02
valikac19-Jul-04 5:02 
QuestionHow to integrate MFC projects? Pin
pork chop19-Jul-04 3:35
pork chop19-Jul-04 3:35 
AnswerRe: How to integrate MFC projects? Pin
V.19-Jul-04 3:41
professionalV.19-Jul-04 3:41 
GeneralVC++6 to VC++7: link pb with CString Pin
ienien19-Jul-04 3:13
ienien19-Jul-04 3:13 
GeneralDeleteing a file Pin
si_6919-Jul-04 2:56
si_6919-Jul-04 2:56 
GeneralRe: Deleteing a file Pin
Ravi Bhavnani19-Jul-04 3:04
professionalRavi Bhavnani19-Jul-04 3:04 
GeneralRe: Deleteing a file Pin
David Crow19-Jul-04 3:17
David Crow19-Jul-04 3:17 

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.