Solved

in visual basic

Posted on 2000-02-17
2
181 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

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 While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

708 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

14 Experts available now in Live!

Get 1:1 Help Now