Click here to Skip to main content
15,907,395 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Rich Edit Control... Pin
Cedric Moonen3-Feb-08 21:44
Cedric Moonen3-Feb-08 21:44 
GeneralRe: Rich Edit Control... Pin
Manjunath S3-Feb-08 22:08
Manjunath S3-Feb-08 22:08 
GeneralRe: Rich Edit Control... Pin
Manjunath S3-Feb-08 22:25
Manjunath S3-Feb-08 22:25 
GeneralGenerate Bitmap Pin
azusakt3-Feb-08 21:28
azusakt3-Feb-08 21:28 
GeneralRe: Generate Bitmap Pin
CPallini3-Feb-08 21:57
mveCPallini3-Feb-08 21:57 
GeneralRe: Generate Bitmap [modified] Pin
azusakt4-Feb-08 14:49
azusakt4-Feb-08 14:49 
Generallife cycle of exception object Pin
George_George3-Feb-08 21:17
George_George3-Feb-08 21:17 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 21:46
Maxwell Chen3-Feb-08 21:46 
George_George wrote:
code like this.


Not sure if some text is missing in your post??


George_George wrote:
what is the life cycle of the exception object which reference variable e binded to?


You can try this with the debugger to see what address you catch!
// global:
std::exception e;
void Test()
{
  try {
    throw std::exception();
  }
  catch(std::exception& e) {
    // Watch the address of local e reference with the debugger:
    // Compare with ::e
    __asm int 3
  }
}


  Maxwell Chen

GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 21:54
George_George3-Feb-08 21:54 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 22:09
Maxwell Chen3-Feb-08 22:09 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 22:19
George_George3-Feb-08 22:19 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 22:30
Maxwell Chen3-Feb-08 22:30 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 22:42
George_George3-Feb-08 22:42 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 22:52
Maxwell Chen3-Feb-08 22:52 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 22:56
George_George3-Feb-08 22:56 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 23:02
Maxwell Chen3-Feb-08 23:02 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 23:24
George_George3-Feb-08 23:24 
GeneralRe: life cycle of exception object Pin
Maxwell Chen3-Feb-08 23:35
Maxwell Chen3-Feb-08 23:35 
GeneralRe: life cycle of exception object Pin
George_George3-Feb-08 23:50
George_George3-Feb-08 23:50 
Generalcstring to tchar* conversion Pin
guru moorthy.k3-Feb-08 21:05
guru moorthy.k3-Feb-08 21:05 
GeneralRe: cstring to tchar* conversion Pin
Cedric Moonen3-Feb-08 21:11
Cedric Moonen3-Feb-08 21:11 
GeneralRe: cstring to tchar* conversion [modified] Pin
CPallini3-Feb-08 21:46
mveCPallini3-Feb-08 21:46 
GeneralRe: cstring to tchar* conversion Pin
toxcct4-Feb-08 1:48
toxcct4-Feb-08 1:48 
GeneralRe: cstring to tchar* conversion Pin
CPallini4-Feb-08 2:06
mveCPallini4-Feb-08 2:06 
GeneralRe: cstring to tchar* conversion Pin
toxcct4-Feb-08 2:11
toxcct4-Feb-08 2:11 

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.