Page 1 of 1
How can I pre-load all the DLLs for viewing PDFs
Posted: Tue Jan 13, 2015 1:57 am
Very happy with the speed of your control for viewing PDFs, but the very first time that a PDF is viewed, there is a big delay which I would assume is the support DLLs being loaded. Is there any way to ask the control to pre-load all the DLLs necessary to display a PDF before an actual preview is required?
Re: How can I pre-load all the DLLs for viewing PDFs
Posted: Sun Jan 18, 2015 3:14 am
The delay can be explained by the digital signature assemblies validation operated by your operating system and by the JIT compilation which can take few seconds the first time the GdPicture code is ran (usually between 0.1 second and 2 seconds depending on the content of the file to view). Your application can also be a suspect
That said, there is always some tricks to preload assemblies, here a link talking briefly about a way to achieve that: http://stackoverflow.com/questions/4895 ... t-assembly
Hope this helps!
With best regards,