English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

if we have a .dll file then how can we run it like if we a .html file we can run it using any browser like wise how can .dll files b executed?

2007-01-04 17:55:24 · 8 answers · asked by kotalxm 1 in Computers & Internet Software

8 answers

It can't. A dll file is just a library of functions. You need an external program to call those functions inside the dll.

2007-01-04 18:03:51 · answer #1 · answered by Mack D 3 · 0 0

You don't.

DLL files contain subprograms with repetetive, proprietary or just code that has been segregated for the programmer convenience. If a programmer is to use or link into the code, then they need to know how and what happens. DLLs have no entry or exit by way of just "running" it as an executable.


In a simple example, I may have a program that adds one to the previous result and stops when it hits 100. In Basic language it would be something like:

ICount = 0
For Icount = 1 to 100
Icount = Icount +1
End loop
end

If I wanted to share this but not disclose what it does, I could write it as a subprogram

Function Looper (Count)
ICount = 0
For Icount = 1 to 100
Icount = Icount +1
End loop
End Function

By telling people that Looper(count) will count to 100, I can buuild it and store it in a DLL and the DLL can be reference by others for use. That way the code is less disk space and sharable for common usages. It also lets me change the DLL and fix a bug with out having to rebuild everyones program.

It make computing a bit more modular. All the complex tasks are done in DLLS and referenced. The cursor moves because of some DLL...people can write programs to move the cursor by calling the routines in that DLL and linking to it.

But you don;t execute or run the DLL to move the cursor by itself, that would not make sense in this context

2007-01-04 18:05:18 · answer #2 · answered by Anonymous · 0 0

A dll file is a library of functions so that programmers need not write code each time they need that function...they just call it from the program.

You can open a *.dll file by using QuickView. However you cant edit it this way.QuickView is a program that is provided along with Windows.If you dont have it install it from the Windows CD.Goto Control Panel and then in that Add/Remove Programs>Windows Components. Find it there.

It is encoded in binary so you can't open it for editing.

2007-01-04 18:17:07 · answer #3 · answered by Naveen Kumar M 2 · 0 0

a .dll file isn't meant to run/executed. It is a file you leave in the folder/root files of the program which helps it run. It's like a file that tells it how to operate and where other files are. All I know is if your .dll is missing from CS you can't play anymore ^_^

Sincerely,
JasonXiao
Leader/Founder of Team ColorBlind
http://colorblindcs.net

2007-01-04 18:02:39 · answer #4 · answered by JasonXiao 3 · 0 0

Question is "Why do you want to do that?" A dynamic link library (DLL) is a collection of small programs, any of which can be called when needed by a larger program that is running in the computer. So, what do you mean by "open it"? All the best. Cheers

2016-05-23 05:06:59 · answer #5 · answered by Anonymous · 0 0

YOU don't open it WINDOWS does. *.dll is a Dynamic Link Library file. An executable driver program MODULE for Microsoft Windows that can be loaded on demand and linked in at runtime and subsequently unloaded when the driver is no longer required.

2007-01-04 18:02:18 · answer #6 · answered by mslenora 3 · 0 0

a dll (dynamic link library) can be accessed through a program, I mean through a c++ , or visual C++ program

2007-01-07 21:31:44 · answer #7 · answered by irfan 3 · 0 0

a dll (dynamic link library) can be accessed through a program, I mean through a c++ , or visual C++ program

2007-01-04 18:00:58 · answer #8 · answered by Anonymous · 0 0

fedest.com, questions and answers