Solved

Too many DLL and degrade the performance ?

Posted on 2004-04-08
2
181 Views
Last Modified: 2013-11-20
Dear experts

I write a problem that would import many dlls files
I find that loading many dll is very time-cost task and user can't get any information because of the dynamic linking start before any code I wrote

So I don't  know if there're some ways to solve this problems, such as change dynamics dll to static link.

But it cost much if there're too many dlls
I wonder if any good methods or software tools accomplish the goal

Thanx  :-)
                                Jim
0
Comment
Question by:realitychang
2 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 125 total points
ID: 10789425
There are number of ways to reduce Dll loading time:

1) Using the Rebase utility, this prevents memory relocation:
http://www.codeproject.com/dll/rebase.asp

2) Using the Bind utility, this optimizes loading of module import table:

http://www.microsoft.com/msj/archive/S572.aspx

3) Using delay-loading Dll, such Dll is loaded only when first function from it is called:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcrefdelayload(delayloadimport).asp
http://www.microsoft.com/msj/1298/win32/win321298.aspx
0
 
LVL 7

Expert Comment

by:vijay_visana
ID: 10820623
Delay loading is better solution you can also use loadlibrary
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
twoTwo  challenge 35 107
zeroFront challenge 7 112
Sed question 2 101
Making an alias 7 101
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question