Click here to Skip to main content
15,895,370 members
Home / Discussions / C#
   

C#

 
NewsVery bad FLAW IN .NET CLR Pin
Mike SS19-Apr-06 8:25
Mike SS19-Apr-06 8:25 
AnswerRe: Very bad FLAW IN .NET CLR Pin
leppie20-Apr-06 1:04
leppie20-Apr-06 1:04 
HAHAHA, it was in fact a flaw that it was being caught in some cases in .NET 1.1. In .NET 2 its totally uncatchable. There is something very wrong with your code if u hit a stack overflow. Sometimes however, you might just have a lazy recursive method (like probing a double linked list without tail calls). Those you should be aware of in the 1st place. From my experience the runtime stack allows up to around 16K nested stacks, by default. Add some counters like:
try
{
  count++;
  if (count > 15000)
    return null;
  // do something recursive
  return foo;
}
finally
{
  count--;
}



QuestionHelp needed in winforms Pin
satishrg19-Apr-06 7:46
satishrg19-Apr-06 7:46 
QuestionVSProject Project references collection Pin
acuze10419-Apr-06 7:38
acuze10419-Apr-06 7:38 
QuestionStrings to ints Pin
sroberts8219-Apr-06 7:03
sroberts8219-Apr-06 7:03 
AnswerRe: Strings to ints Pin
Drew McGhie19-Apr-06 7:23
Drew McGhie19-Apr-06 7:23 
AnswerRe: Strings to ints Pin
Stefan Troschuetz19-Apr-06 7:39
Stefan Troschuetz19-Apr-06 7:39 
AnswerRe: Strings to ints Pin
ldaoust19-Apr-06 10:30
ldaoust19-Apr-06 10:30 
AnswerRe: Strings to ints Pin
The Nemesis19-Apr-06 20:02
The Nemesis19-Apr-06 20:02 
QuestionUI Design Samples Pin
Leyu19-Apr-06 6:56
Leyu19-Apr-06 6:56 
AnswerRe: UI Design Samples Pin
LongRange.Shooter19-Apr-06 10:58
LongRange.Shooter19-Apr-06 10:58 
QuestionCrystal Reports-how can I set a userdefined Datasource as reportdatsource Pin
rosenvas19-Apr-06 5:40
rosenvas19-Apr-06 5:40 
QuestionWord Export Pin
RobsonDasilva19-Apr-06 5:32
RobsonDasilva19-Apr-06 5:32 
QuestionRunning two thread Pin
mehrdadc4819-Apr-06 5:06
mehrdadc4819-Apr-06 5:06 
AnswerRe: Running two thread Pin
LongRange.Shooter19-Apr-06 5:31
LongRange.Shooter19-Apr-06 5:31 
QuestionHow to get software information that is installed in window?? Pin
Real Coder19-Apr-06 4:58
Real Coder19-Apr-06 4:58 
AnswerRe: How to get software information that is installed in window?? Pin
Robert Rohde19-Apr-06 5:02
Robert Rohde19-Apr-06 5:02 
GeneralRe: How to get software information that is installed in window?? Pin
Real Coder19-Apr-06 5:11
Real Coder19-Apr-06 5:11 
GeneralI don't have Microsoft.Win32^^;; Pin
Real Coder19-Apr-06 6:23
Real Coder19-Apr-06 6:23 
GeneralRe: I don't have Microsoft.Win32^^;; Pin
Robert Rohde19-Apr-06 9:40
Robert Rohde19-Apr-06 9:40 
GeneralRe: I don't have Microsoft.Win32^^;; Pin
Real Coder19-Apr-06 18:25
Real Coder19-Apr-06 18:25 
QuestionManaging close button ? Pin
mehrdadc4819-Apr-06 4:55
mehrdadc4819-Apr-06 4:55 
AnswerRe: Managing close button ? Pin
Robert Rohde19-Apr-06 5:04
Robert Rohde19-Apr-06 5:04 
QuestionPrint dialog as e.g. in notepad (WinXP, IE) Pin
Wizard_0119-Apr-06 3:53
Wizard_0119-Apr-06 3:53 
AnswerRe: Print dialog as e.g. in notepad (WinXP, IE) Pin
Ed.Poore19-Apr-06 9:15
Ed.Poore19-Apr-06 9: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.