in visual basic

what is the difference between .exe and dll?
what is inprocess and outprocess?
wsxAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ViniTConnect With a Mentor Commented:
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
 
wsxAuthor Commented:
very interesting to see the answers within hours,thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.