Groups | Blog | Home
all groups > dotnet clr > july 2006 >

dotnet clr : Feedback ID 115267


AndrewEames
7/17/2006 8:43:01 AM
I filed a bug report and got the very unhelpful response that I should ask
here in the newsgroups for a workaround so here I am. If someone from
Microsoft could explain the cause of the bug I filed and offer a workaround,
I would be most grateful
Thanks
Andrew Eames

AndrewEames
7/17/2006 10:29:02 AM
There is a code sample in the bug report - (its actually a stripped down
version of code for a splash screen but that's irrelevant - I'd like to know
why it crashes)
Andrew

[quoted text, click to view]
David Browne
7/17/2006 11:36:46 AM

[quoted text, click to view]

For a workaround, you would need to describe what you are trying to
acomplish.

David

AndrewEames
7/17/2006 11:53:02 AM
Well yes... I posted a reproducible code sample and it crashes in the CLR -
hence my request for some help from someone in MS - they seem to have
acknowledged it is a bug without actually describing what the bug is
Andrew

[quoted text, click to view]
David Browne
7/17/2006 1:02:07 PM
So you don't want a workaround? You just want to know why it crashes on
Windows 2000?

To find out why it crashes would require reproducing and debugging it on
Windwos 2000.


David

[quoted text, click to view]

AndrewEames
7/17/2006 1:20:03 PM
product feedback *is* the correct place to report a bug - if you went to the
link I posted, you will see I got the rather unhelpful response below - hence
my request for help from someone from Microsoft - if you do not have inside
information about this problem you probably won't be able to help me (as
indeed you haven't)
Andrew

"...next release of the .NET Framework (codenamed “Orcas”) requires a high
degree of backwards compatibility. As such we are not able to address this
issue with a fix in the .NET Framework in the Orcas timeframe. Many customers
have found it useful to discuss issues like this in the forums
(http://forums.microsoft.com/msdn/default.aspx?siteid=1) where Microsoft and
other members of the community can suggest work arounds. "

[quoted text, click to view]
David Browne
7/17/2006 2:33:44 PM
Ok, in that case, product feedback is the wrong mechanism. That's more for
improving future products.

These groups might help, but it's hit or miss. For instance I don't have a
Windows 2000 instance with .NET 2.0 running anywhere, so I can't help.

For analyzing and resolving issues in shipping software, Microsoft support
is the way to go: http://support.microsoft.com/.

David


[quoted text, click to view]

David Browne
7/17/2006 4:49:10 PM
I did read your post, and if you were interested in a workaround, it might
be something like

/// <summary
/// The main entry point for the application.
/// </summary
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

Form1 splash = new Form1();
ProgressBar progress = new ProgressBar();
progress.Maximum = 3;
progress.Dock = DockStyle.Bottom;
splash.Controls.Add(progress);

Thread t = new Thread(new ThreadStart(delegate {
Application.Run(splash); }));
t.SetApartmentState(ApartmentState.STA);
t.Start();


Form1 main = new Form1();


main.Load += delegate
{
Thread.Sleep(200);//simulate a long load time
splash.Invoke(new ThreadStart(delegate {
progress.Increment(1); }));
Thread.Sleep(200);//simulate a long load time
splash.Invoke(new ThreadStart(delegate {
progress.Increment(1); }));
Thread.Sleep(200);//simulate a long load time
splash.Invoke(new ThreadStart(delegate {
progress.Increment(1); }));
Thread.Sleep(200);//simulate a long load time
};

main.Shown += delegate
{
splash.Invoke( new ThreadStart(delegate {
splash.Close(); }) );
};

Application.Run(main);

}

David
[quoted text, click to view]

AddThis Social Bookmark Button