Solved

Too many DLL and degrade the performance ?

Posted on 2004-04-08
2
182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Whole sheet autoscrub still needed 19 53
notReplace  challenge 53 151
Hibernate methods 2 83
Is there a simple front-end menu system. 9 118
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

735 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