Solved

in visual basic

Posted on 2000-02-17
2
184 Views
Last Modified: 2013-11-25
what is the difference between .exe and dll?
what is inprocess and outprocess?
0
Comment
Question by:wsx
2 Comments
 

Accepted Solution

by:
ViniT earned 50 total points
ID: 2534316
An EXE file is a compiled program for running an independant process on your machine.
DLLs are Dynamic Linked Libraries, that means you write functions, or declare variables inside these programs, then compile them to be DLLs - When you load a DLL you can use its functions/variables (depend on how you declare them), and then the functions and variables are used in the process of the EXE file who is using them.
There are also many other options of sharing data with DLLs between processes and so on.
In MSDN:
dynamic-link library (DLL)
A .DLL file that contains one or more functions compiled, linked, and stored separately from the processes that use them. The operating system maps the DLLs into the process's address space when the process is starting up or while it is running. The process then executes functions in the DLL.

Process:
An executing application that consists of a private virtual address space, code, data, and other operating system resources, such as files, pipes, and synchronization objects that are visible to the process. A process also contains one or more threads that run in the context of the process.

Hope this helps,
ViniT.
0
 

Author Comment

by:wsx
ID: 2535055
very interesting to see the answers within hours,thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

808 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