Click here to Skip to main content

Managed C++/CLI

   

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
GeneralRe: Class Constructor in C++ PinmvpRichard MacCutchan22:11 20 Feb '12  
AnswerRe: Class Constructor in C++ Pinmemberjschell10:29 20 Feb '12  
QuestionFading a Form PinmemberLucidation7:15 18 Feb '12  
AnswerRe: Fading a Form PinmemberPhilippe Mori8:28 18 Feb '12  
GeneralRe: Fading a Form PinmemberLucidation13:55 18 Feb '12  
AnswerRe: Fading a Form PinPopularmvpLuc Pattyn14:15 18 Feb '12  
QuestionCArchiveException exception is not caught in catch(CArchiveException* e) block Pinmemberptr_Electron5:21 17 Feb '12  
I am reading a courrpted file, and I know that It will throw any exception,
and hence I want to catch it and make the app smoth.
<pre>WORD mydata;
		try
		{
			ar >> mydata;
		}
		catch(CInvalidArgException* e)
		{
			// Handle my exception here
		}
		catch(CArchiveException* e)
		{
			// Handle my exception here
			// but never caught CArchiveException here
		}
And the application throws below exception
 
First-chance exception at 0x7c812afb in xxxxxxxxxxx Microsoft C++ exception:
 
CArchiveException at memory location 0x0497e360.
 
kinldy help....
AnswerRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pinmemberjohny101519815:51 17 Feb '12  
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pinmemberptr_Electron20:16 17 Feb '12  
AnswerRe: CArchiveException exception is not caught in catch(CArchiveException* e) block PinmvpRichard MacCutchan6:35 17 Feb '12  
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pinmemberptr_Electron20:14 17 Feb '12  
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block PinmvpRichard MacCutchan21:10 17 Feb '12  
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pinmemberptr_Electron21:29 17 Feb '12  
AnswerRe: CArchiveException exception is not caught in catch(CArchiveException* e) block PinmvpLuc Pattyn6:42 17 Feb '12  
AnswerRe: CArchiveException exception is not caught in catch(CArchiveException* e) block PinmemberJohn Schroedl7:37 17 Feb '12  
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block PinmvpRichard MacCutchan21:30 17 Feb '12  
QuestionCalling DLL problem PinmemberMember 447869223:32 16 Feb '12  
QuestionConstructor PinmemberLamos Paul13:42 15 Feb '12  
AnswerRe: Constructor PinmemberRichard Andrew x6413:55 15 Feb '12  
AnswerRe: Constructor PinmvpLuc Pattyn8:48 20 Feb '12  
Questionerror C2143: syntax error : missing ';' before '*' PinmemberSam Hobbs18:56 13 Feb '12  
AnswerRe: error C2143: syntax error : missing ';' before '*' PinmvpRichard MacCutchan22:34 13 Feb '12  
GeneralRe: error C2143: syntax error : missing ';' before '*' PinmemberSam Hobbs23:36 13 Feb '12  
GeneralRe: error C2143: syntax error : missing ';' before '*' PinmvpRichard MacCutchan23:43 13 Feb '12  
QuestionWhich is better - a long list of potentially null parameters or a Key Value list PinmemberGer Hayden4:18 8 Feb '12  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Beta | 2.5.120517.1 | Last Updated 22 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid