Slow code generation and windows form loading

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: JC Carette (jcc.news_at_skynet.be)
Date: 05/18/04


Date: Tue, 18 May 2004 01:51:05 -0700

Hello,

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.

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
form designer. That can take up to 20 minutes every time I compile in Release config after a modification
or for loading each of the three localisation languages for the form in the form designer.
Then not only the IDE gets blocked, but also everything else on the machine (2 GHz machine
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.

Is there any parameter to set or any fix available?
Please help, this behaviour is really driving me crazy.

Thanks
JC



Relevant Pages

  • RE: Slow code generation and windows form loading
    ... > I am experiencing extremely long time for loading a windows form in my ... Visual C++ .NET project. ... > It takes several minutes to load this form in the form designer when I ... How long does your project take to compile under "normal" conditions? ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Easy Reading - Promotion of Numberless Cryptography - Adacrypt
    ... loading to compile you some of my lesser reproductions. ... ambitious boring wests will confess in part depending on moves. ...
    (sci.crypt)
  • more precise info
    ... create a new library work: ... Compile gen_utils.vhd and conversions.vhd: ... (SIGSEGV) Bad handle or reference. ... # FATAL ERROR while loading design ...
    (comp.arch.fpga)
  • Re: xilinx impact 9.2 problem
    ... The problem is when I compile the source in a 9.2 project and generate a ... If that fails, it shows the problem is in 9.2's Impact loader. ... If it works, then try to load the 9.2 bit file with 8.1 If that fails, ... We have had problems loading bit files across impact versions. ...
    (comp.arch.fpga)
  • Re: ResourceManager vs. ConfigurationManager
    ... the Configuration Application Block supports caching. ... In that case I don't care if the loading takes a few seconds more. ... the Configuration Application Block supports storing the data ... maintain then a giant resource file. ...
    (microsoft.public.dotnet.framework)