Click here to Skip to main content
15,908,254 members
Home / Discussions / C#
   

C#

 
GeneralCan't use C# dll in MFC - Program won't run Pin
IrishSonic9-Oct-03 10:00
IrishSonic9-Oct-03 10:00 
QuestionPreload assemblies to increase performance? Pin
Carl Mercier9-Oct-03 8:18
Carl Mercier9-Oct-03 8:18 
Hi,

We are building a big WinForms application that references to about 30-35 assemblies (that's a lot of code, you know! :wtf

I'd like to know if there is a way to preload assemblies, when the application starts up (for example) in order to avoid delays once the application is loaded. The problem right now is that when the user opens a form for the first time, it takes a few seconds because some 3rd party controls and some other assemblies need to compile (JIT). The same window opens very quickly in subsequent calls. I'd like to have the form open quickly even on the first call.

Is there an easy way to do this?

Thanks!

Carl


AnswerRe: Preload assemblies to increase performance? Pin
J. Dunlap9-Oct-03 8:46
J. Dunlap9-Oct-03 8:46 
GeneralRe: Preload assemblies to increase performance? Pin
Carl Mercier9-Oct-03 8:48
Carl Mercier9-Oct-03 8:48 
GeneralRe: Preload assemblies to increase performance? Pin
J. Dunlap9-Oct-03 9:06
J. Dunlap9-Oct-03 9:06 
GeneralRe: Preload assemblies to increase performance? Pin
Blake Coverett9-Oct-03 11:57
Blake Coverett9-Oct-03 11:57 
GeneralRe: Preload assemblies to increase performance? Pin
J. Dunlap9-Oct-03 11:59
J. Dunlap9-Oct-03 11:59 
GeneralRe: Preload assemblies to increase performance? Pin
Blake Coverett9-Oct-03 12:03
Blake Coverett9-Oct-03 12:03 
GeneralRe: Preload assemblies to increase performance? Pin
Carl Mercier10-Oct-03 4:31
Carl Mercier10-Oct-03 4:31 
GeneralRe: Preload assemblies to increase performance? Pin
Blake Coverett10-Oct-03 8:32
Blake Coverett10-Oct-03 8:32 
GeneralRe: Preload assemblies to increase performance? Pin
Carl Mercier10-Oct-03 8:44
Carl Mercier10-Oct-03 8:44 
GeneralRe: Preload assemblies to increase performance? Pin
Blake Coverett10-Oct-03 8:55
Blake Coverett10-Oct-03 8:55 
GeneralWindows Impersonation Context Pin
Alireza Haghshenass9-Oct-03 7:29
Alireza Haghshenass9-Oct-03 7:29 
GeneralRe: Windows Impersonation Context Pin
Blake Coverett9-Oct-03 7:40
Blake Coverett9-Oct-03 7:40 
GeneralRe: Windows Impersonation Context Pin
Mazdak9-Oct-03 10:31
Mazdak9-Oct-03 10:31 
GeneralRe: Windows Impersonation Context Pin
Blake Coverett9-Oct-03 11:59
Blake Coverett9-Oct-03 11:59 
GeneralRe: Windows Impersonation Context Pin
Mazdak9-Oct-03 20:59
Mazdak9-Oct-03 20:59 
GeneralGetManifestResourceStream Error Pin
pahluwalia9-Oct-03 7:27
pahluwalia9-Oct-03 7:27 
GeneralRe: GetManifestResourceStream Error Pin
Chris Richner10-Oct-03 0:04
Chris Richner10-Oct-03 0:04 
GeneralRemoting event Pin
devvvy9-Oct-03 6:39
devvvy9-Oct-03 6:39 
GeneralRe: Remoting event Pin
David Stone9-Oct-03 18:35
sitebuilderDavid Stone9-Oct-03 18:35 
GeneralDatagrid Events Pin
kgoodrich9-Oct-03 6:37
kgoodrich9-Oct-03 6:37 
GeneralWindows Service Pin
mcgahanfl9-Oct-03 5:41
mcgahanfl9-Oct-03 5:41 
GeneralRe: Windows Service Pin
Blake Coverett9-Oct-03 7:46
Blake Coverett9-Oct-03 7:46 
GeneralCOM+ Attribute at runtime Pin
devvvy9-Oct-03 3:20
devvvy9-Oct-03 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.