Solved

Too many DLL and degrade the performance ?

Posted on 2004-04-08
2
184 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

Technology Partners: 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

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

632 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