Pre-compile a dll in memory

  • Thread starter Thread starter Jack Wright
  • Start date Start date
J

Jack Wright

Dear All,
I assume that merely loading a .net dll in memory via
Assembly.LoadForm does not compile the dll into machine code...does it
make sense to loop through the classes defined in the dll and create
them...will this ensure that the classes are JITed...please help...

TALIA
Many Regards
Jack
 
Why do you want to explicitly control the JIT ?

The CLR decides when to JIT; is the automatic ("hands off") method not
satisfactory for you?
If so, how and why?

-D
 
Hi Dino,
My applications are launched via NTD...I have large forms and its
initialseComponent takes atleast 2 seconds...my clients want to see
Forms in 2 secs even the first time after the restart their
machine...hence we would like to do something like the ASP.Net
Pre-Compile and give the Client a fast response time...so while the user
is not using my application, it want to pre-compile the forms...is MS
thinking of giving a (Pre-compile feature other than NGen that can't be
used with No Touch)...

Thanks and merry X'Mas to you and everyone in the Newsgroup...GOD bless
you all...

TALIA
Many regards
Jack
 
Sure Asp.net "pre-compiles", it run's csc.exe or vbc.exe to compile cs or
vb source code to MSIL, your windows forms applications are already
"pre-compiled". Can't your customer wait a few seconds for the firts form to
appear, what's his motivation?

Willy.
 
Back
Top