Re: ngen.exe question

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



Nope. That's basically it. If you are doing a lot of initialization on app
startup, you may want to consider optimizing to lazy initialization,
basically do the bare minimum initialization and differ the rest for later
in the program

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc, Amazon, B&H etc


Forth-coming VSTO.NET
-------------------------------------------------------------------------------
"chewie" <chewie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4208FFEE-451F-45BC-A34E-55EA610AA732@xxxxxxxxxxxxxxxx
> I'm trying to improve the startup time of a simple winform app using
> ngen.exe. I register myappl.exe with the negen tool
> (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ngen myapp.exe), but I
> notice
> no improvement in startup time. I'm assuming that I can start myapp.exe
> from
> its original location and not from the GAC or some other way. Am I
> missing
> something? Do I need to start the application in a different way? Thanks


.



Relevant Pages

  • Re: ngen.exe question
    ... If you are doing a lot of initialization on app ... >> I'm trying to improve the startup time of a simple winform app using ...
    (microsoft.public.dotnet.framework.performance)
  • Re: Using SDI archetecture
    ... after checking for certain conditions on startup. ... the checking during InitInstance of the app.cpp. ... user can interact with the app, then these wouldn't be good solutions. ... Most of my initialization happens in InitInstance, ...
    (microsoft.public.vc.language)
  • Object was unloaded error?
    ... I have a VB6 app which has been up and running in the field. ... My startup form was a settings form with the various paths and parameters ... Private Sub Form_Load ...
    (microsoft.public.vb.general.discussion)
  • Re: For Vista: Programmatically "elevate" my app for a particular task.
    ... I developed a MFC/VC++ 6.0 program that has to run at startup. ... "eats" my startup application: no elevated app can be placed at startup. ... I would need to be able to programmatically get the UAC promt ... and so elevate my app permisions from that moment on. ...
    (microsoft.public.vc.mfc)
  • Re: App does not become frontmost?? Delay in InitInstance
    ... >My *real* application has no actual 35 second delay in it. ... running a compute-intensive app takes 15 seconds. ... so I don't want anyone saying "It's all the fault of WIndows"). ... >> the introduction of a gratuitous 35-second startup delay. ...
    (microsoft.public.vc.mfc)