Click here to Skip to main content
15,888,269 members
Home / Discussions / C#
   

C#

 
GeneralRe: try - catch problems Pin
zaboboa24-Oct-05 4:56
zaboboa24-Oct-05 4:56 
GeneralRe: try - catch problems Pin
Tom Larsen24-Oct-05 5:07
Tom Larsen24-Oct-05 5:07 
AnswerRe: try - catch problems Pin
Tom Larsen24-Oct-05 4:46
Tom Larsen24-Oct-05 4:46 
GeneralRe: try - catch problems Pin
zaboboa24-Oct-05 4:55
zaboboa24-Oct-05 4:55 
GeneralRe: try - catch problems Pin
Tom Larsen24-Oct-05 5:03
Tom Larsen24-Oct-05 5:03 
GeneralRe: try - catch problems Pin
zaboboa24-Oct-05 5:32
zaboboa24-Oct-05 5:32 
GeneralRe: try - catch problems Pin
Wjousts24-Oct-05 6:27
Wjousts24-Oct-05 6:27 
AnswerRe: try - catch problems Pin
Daniel Grunwald24-Oct-05 5:18
Daniel Grunwald24-Oct-05 5:18 
You simply cannot catch StackOverflowExceptions. When the stack is full, the runtime cannot allocate space for the catch handler, so it won't be run.
If you really need to code like this, create some variable that counts the stack depth and throw a custom exception before the stack if full.
GeneralRe: try - catch problems Pin
zaboboa24-Oct-05 7:31
zaboboa24-Oct-05 7:31 
GeneralRe: try - catch problems Pin
Tom Larsen24-Oct-05 8:12
Tom Larsen24-Oct-05 8:12 
AnswerRe: try - catch problems Pin
leppie24-Oct-05 7:01
leppie24-Oct-05 7:01 
AnswerRe: try - catch problems Pin
Daniel Turini24-Oct-05 9:49
Daniel Turini24-Oct-05 9:49 
QuestionEnvironment Variable Pin
C#Bala24-Oct-05 2:17
C#Bala24-Oct-05 2:17 
AnswerRe: Environment Variable Pin
KaptinKrunch24-Oct-05 2:30
KaptinKrunch24-Oct-05 2:30 
AnswerRe: Environment Variable Pin
S. Senthil Kumar24-Oct-05 4:46
S. Senthil Kumar24-Oct-05 4:46 
AnswerRe: Environment Variable Pin
Matt Gerrans24-Oct-05 5:46
Matt Gerrans24-Oct-05 5:46 
QuestionHow to rename a file in a isolated storage Pin
mondolyo7814024-Oct-05 2:13
mondolyo7814024-Oct-05 2:13 
AnswerRe: How to rename a file in a isolated storage Pin
KaptinKrunch24-Oct-05 2:33
KaptinKrunch24-Oct-05 2:33 
GeneralRe: How to rename a file in a isolated storage Pin
mondolyo7814024-Oct-05 2:39
mondolyo7814024-Oct-05 2:39 
GeneralRe: How to rename a file in a isolated storage Pin
KaptinKrunch24-Oct-05 7:58
KaptinKrunch24-Oct-05 7:58 
QuestionIf there is an event in a C++ dll ,how to define it? Pin
rushing24-Oct-05 1:25
rushing24-Oct-05 1:25 
AnswerRe: If there is an event in a C++ dll ,how to define it? Pin
Tom Larsen24-Oct-05 4:48
Tom Larsen24-Oct-05 4:48 
GeneralRe: If there is an event in a C++ dll ,how to define it? Pin
rushing26-Oct-05 15:02
rushing26-Oct-05 15:02 
QuestionRichTextBox of A4 Size Pin
AB777124-Oct-05 0:34
AB777124-Oct-05 0:34 
QuestionDataGrid: SetDataBinding() method OR DataSource property Pin
amit_mi24-Oct-05 0:18
amit_mi24-Oct-05 0:18 

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.