Exe , Dll

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i recently know that dll files are files that system can understand them then
execute them,ok?
so,what is the difference between Dll files and Exe
 
DLL files are not executable files. They are Dynamic Link Libraries that
contain pre-compiled library functions that other .Exe files reference when
executing.

The main benefit of a DLL file, is that you can modify a DLL, install it
without having to recompile .Exe files that reference it (as long as they
don't reference the new additions and you haven't modified the old
functions).
 
dr_ahmed said:
i recently know that dll files are files that system can understand them then
execute them,ok?
so,what is the difference between Dll files and Exe

DLL's are dynamic link library's and aid programs so you can break up
your code for faster execution. An exe is an actual application that
you can runn.

So basically EXE's have code but some of the code is kept externally in
a DLL for faster execution.
 
dr_ahmed said:
i recently know that dll files are files that system can understand them
then
execute them,ok?
so,what is the difference between Dll files and Exe

Well, an executable is executable; click on it and it will run. A dynamic
link library is a collection of routines that must be called from an
executable or another DLL.
 
Thanks all for your help,but there is a little question about
"shell32.dll,32",what does "32" refer to?
 
Thanks all for your help,but there is a little question about
"shell32.dll,32",what does "32" refer to?
 
dr_ahmed said:
Thanks all for your help,but there is a little question about
"shell32.dll,32",what does "32" refer to?
The number is a pointer to a resource in the specified .DLL file. The
resource could be a text string, an icon, a bitmap, etc...

mhc
 
"shell32.dll,32",what does "32" refer to?

Bits.

Shell32.dll is called that to differentiate it from the shell.dll which is
16 bit.

Just like there is a %windir%\system32 folder and a %windir%\system folder
on your machine. The system folder has old 16 bit stuff and the system32
folder has mostly 32 bit stuff.

Rundll.exe actually runs the .dll files.

rundll32.exe = Run a DLL as an App. Or Run a DLL as an Application.

Paste this line into Start | Run, click OK and see what opens...

RUNDLL32.EXE SHELL32.DLL,Control_RunDLL NCPA.CPL

"Dlls (Dynamic Link Libraries), OCXs (Active X controls), and CPLs (Control
Panel Applets) are all DLLs." David Candy

In earlier (16 bit) versions of Windows rundll.exe ran the .dll files.

32-bit
http://en.wikipedia.org/wiki/32-bit

16-bit
http://en.wikipedia.org/wiki/16-bit

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
I tried "RUNDLL32.EXE SHELL32.DLL,Control_RunDLL NCPA.CPL" and it opens
"network connections" but "NCPA.CPL" gives the same effect ,so what is the
meaning of "RUNDLL32.EXE SHELL32.DLL,Control_RunDLL " or what is its function.
hey,dont get boared from me ,iam amateur not profeesional and want to
understand what i face when i use my PC.
just if u dont get board,take this question:
in registry,"HKEY_CLASSES_ROOT\CLSID\",what is meant by "CLASSES" i found
that it refers to Dll file,check this for example
"HKEY_CLASSES_ROOT\CLSID\{00020000-0000-0000-C000-000000000046}\InprocServer"
..
thanks,i really appreciate your time.
 
dr_ahmed,

Yes, typing ncpa.cpl in the Run command opens Network Connections.
so what is the
meaning of "RUNDLL32.EXE SHELL32.DLL,Control_RunDLL " or what is its
function.

rundll32.exe shell32.dll,Control_RunDLL typed into the Run command will open
the Control Panel.

shell32.dll, among other things, is the the Control Panel.
Control_RunDLL Control.exe opens the Control Panel.

control typed into the Run command opens the Control Panel.

control.exe typed into the Run command opens the Control Panel.

Control_RunDLL is part of the command, Microsoft set it up this way, I don't
know why.

control netconnections typed into the Run command opens Network
Connections.

{7007ACC7-3202-11D1-AAD2-00805FC1270E} is the CLSID for Network Connections.

This pasted in Start | Run
file:///::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.

This pasted in Start | Run
explorer ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.

{208D2C60-3AEA-1069-A2D7-08002B30309D} is the CLSID for My Network Places.

This pasted in Start | Run
Explorer.exe /e,/root,::{208D2C60-3AEA-1069-A2D7-08002B30309D}
opens My Network Places.

This pasted in Start | Run
Explorer.exe
/e,/root,::{208D2C60-3AEA-1069-A2D7-08002B30309D}\::{7007ACC7-3202-11D1-AAD2
-00805FC1270E}
opens Network Connections.

{20D04FE0-3AEA-1069-A2D8-08002B30309D} is the CLSID for My Computer.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
opens My Computer.

This pasted in Start | Run
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
opens Network Connections.

Of course ncpa.cpl in the Run command will open Network Connections.

Shortcut to Network Connections in C:\Documents and Settings\All Users\Start
Menu\Programs\Accessories\Communications

%SystemRoot%\explorer.exe
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30
309D}\::{7007acc7-3202-11d1-aad2-00805fc1270e}

Pasting the above into the Run command will open Network Connections.

{20D04FE0-3AEA-1069-A2D8-08002B30309D} is the CLSID for My Computer.

{21EC2020-3AEA-1069-A2DD-08002B30309D} is the CLSID for Control Panel.

{7007ACC7-3202-11D1-AAD2-00805FC1270E} is the CLSID for Network Connections.

How to run Control Panel tools by typing a command
http://support.microsoft.com/kb/192806

RunDll commands (some of these only work w/earlier versions of Windows)
http://chagdali.free.fr/dcs/RunDll.htm

Using Rundll32.exe in Windows XP
http://vlaurie.com/computers2/Articles/rundll32.htm

Batch files - RUNDLL and RUNDLL32
http://www.robvanderwoude.com/rundll.html

INFO Windows Rundll and Rundll32 Interface
http://support.microsoft.com/kb/164787

How To Use RUNDLL32 to Debug Control Panel Applets
http://support.microsoft.com/kb/166168
in registry,"HKEY_CLASSES_ROOT\CLSID\",what is meant by "CLASSES"

[[Description
The HKEY_CLASSES_ROOT subtree contains two types of data:

1. Data that associates file types with programs. The file type subkeys in
HKEY_CLASSES_ROOT have the same name as the file name extension for the file
type, such as .exe. File type associations are stored in the registry, but
you should use Windows Explorer to change them. In Windows Explorer, from
the Tools menu, click Folder Options, and then click the File Types tab.

2. Configuration data for COM objects, Visual Basic programs, or other
automation.The configuration subkeys either use the program IDs (such as for
COM, VB, automation, and scripting) or parent keys for other classes of
information (such as for CLSID, Interface, TypeLib, AppId, and so on). ]]

More here...
HKEY_CLASSES_ROOT
http://www.microsoft.com/resources/...er/reskit/en-us/regentry/69673.asp?frame=true

Look at the list of CLSIDs here...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}
My Computer

HKEY_CLASSES_ROOT\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}
Control Panel

HKEY_CLASSES_ROOT\CLSID\{7007ACC7-3202-11D1-AAD2-00805FC1270E}
Network Connections

Rename or Delete Special Folders
http://www.winguides.com/registry/display.php/61/

Universally Unique Identifier (UUI)
http://encyclopedia.thefreedictionary.com/Universally Unique Identifier

GUID
http://www.webopedia.com/TERM/G/GUID.html

Globally Unique Identifier
http://en.wikipedia.org/wiki/GUID

Class ID (CLSID)
http://www.microsoft.com/resources/...0/all/proddocs/en-us/appint/asdefclassid.mspx
that it refers to Dll file,check this for example
"HKEY_CLASSES_ROOT\CLSID\{00020000-0000-0000-C000-000000000046}\InprocServer
"

{00020000-0000-0000-C000-000000000046} is the CLSID for Microsoft AVI Files.
Audio Video Interleave files, the file format for Microsoft's Video for
Windows standard.

HKEY_CLASSES_ROOT\CLSID\{00020000-0000-0000-C000-000000000046}\InprocServer
avifile.dll = Microsoft AVI File support library

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
My question is about error messeges, when I go to Internet Explorer in a
minute or two that I am in the web a message appear: Microsoft Visual C++
Debug Library Debug error
Program C:\Program Files\Internet Explorer\iexplore.exe
(press Retry to debug the application)
Abort Retry Ignore
I've tried the 3 options and it does not work, when I retry it comes back my
web page but only for a minute and the again the same message, what can I do
it drives me crazi
 
In 'Internet Options' under browsing put a check on 'disable script
debugging internet' and 'script
debugging other'. Remove check from 'display a notification of every
script error'.
 
Back
Top