Solved

Too many DLL and degrade the performance ?

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now