[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
DLL
What is a DLL?
A DLL (Dynamically Linked Library) is a file executed by a program (EXE). A DLL cannot run by itself and must have a parent program to run. A DLL can save RAM usage by being executed by two programs at the same time. Unfortunately, DLLs can only be run with a windows system.
Creating a DLL
I am only familar with creating a DLL with C and C++, so I can't help all you people using other programming languages, such as Fortan. Most C/C++ compilers have the ability to create a DLL Project. Make your functions, classes, and structures; defining functions like this:
__declspec(dllexport) int CALLBACK myfunction(int arguments) { //C/C++ code here }
Compile the DLL.
Now create a program to run the DLL. IT MUST BE A WINDOWS APPLICATION! Include the header file (.h) in program like this:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
DLL
DLLs
What is a DLL?
A DLL (Dynamically Linked Library) is a file executed by a program (EXE). A DLL cannot run by itself and must have a parent program to run. A DLL can save RAM usage by being executed by two programs at the same time. Unfortunately, DLLs can only be run with a windows system.
Creating a DLL
I am only familar with creating a DLL with C and C++, so I can't help all you people using other programming languages, such as Fortan. Most C/C++ compilers have the ability to create a DLL Project. Make your functions, classes, and structures; defining functions like this:
__declspec(dllexport) int CALLBACK myfunction(int arguments) { //C/C++ code here }
Compile the DLL.
Now create a program to run the DLL. IT MUST BE A WINDOWS APPLICATION! Include the header file (.h) in program like this:
- include "myDirectory/myHeader.h"
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
