> I am experiencing extremely long time for loading a windows form in my Visual C++ .NET project.
> This Windows form has just 40 labels, 4 checkBoxes, 2 buttons and 11 numericUpDown.
> It takes several minutes to load this form in the form designer when I double click on the .h
> file in the Visual Studio .NET Solution Explorer. It gets worse with another form that has
> more controls.
The KB article (Q832138) at http://support.microsoft.com/?id=832138
describes a QFE that fixes this problem.
> It gets really dramatic when I try to compile in Release configuration (compilation
> in Debug configuration is fine) or when I select another language to localise the form with the
[quoted text clipped - 3 lines]
> with 512 Mb, same is true with a Centrino 1.6 GHz with 512 Mb). It is the "devenv.exe" process
> that uses 100% processor resources during all this time.
How long does your project take to compile under "normal" conditions? Is
the IDE just hanging in those 20 minutes or is the compiler actually
working on something?
Thanks,

Signature
Tarek Madkour, Visual C++ Team
This posting is provided AS IS with no warranties, and confers no rights.
JC Carette - 10 Jun 2004 11:13 GMT
Hello,
Thanks for the input on the KB article. I will try this right away.
I have performed further tests concerning the build:
When compiling in Debug configuration (after having performed a "Clean"),
it takes 18 seconds.
When compiling in Release configuration (after having performed a "Clean"),
it takes 9 minutes. I was not totally right concerning this case. This is the
"cl.exe" process that takes 100% of the processor resources in this case.
Everything is therefore very slow but the IDE is not blocked and the animated icon for "Build" that appears in the task bar of the IDE rolls its animation in a regular way.
However, if I change anything to one of the forms that are long to load, the
build takes a lot longer time.
Thanks for the help.
> > I am experiencing extremely long time for loading a windows form in my
> Visual C++ .NET project.
[quoted text clipped - 28 lines]
>
> Thanks,