Re: a StackOverflowException which doesn't make sense

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: codymanix (no_spam_deutronium_at_gmx.net)
Date: 03/31/04


Date: Wed, 31 Mar 2004 16:20:30 +0200


> I have encountered a strange crashing of an app I'm working on.
> When I was trying to isolate the cause of the exception I made
> following discovery:
> When I create a new project: Windows Application in C#, add a button
> on the form and write the following lines into the Click event
> handler:
> private void button1_Click(object sender, System.EventArgs e)
> {
> SaveFileDialog dlg = new SaveFileDialog();
> dlg.ShowDialog();
> }
> the application will crash when I close the save file dialog. It
> crashes on the line with the closing bracket
> of the Main() function.
> As far as I know the problem occurs only on machines with winXP with
> latest updates and MS Visual Studio .NET 2003 installed. The problem
> doesn't occur on Win2k with MS Visual Studio .NET nor on WinXP
> without MS Visual Studio .NET.
> Did anybody encountered similar problem?

maybe the savefiledialaog is missing a filterstring or something. normally
it should work anyway but on windowsXP you never know.

--
cody
Freeware Tools, Games and Humour
http://www.deutronium.de.vu  || http://www.deutronium.tk

Quantcast