dynamically loading a dynamic library from the program
Michal Kozakiewicz
michalkozakiewicz3 at gmail.com
Sat Jul 28 22:30:38 UTC 2018
I read this article: https://dlang.org/articles/dll-linux.html
However, I did not find the answer to my questions.
===== ===== ===== =====
Facts:
a. I have closed-source dynamic library (DLL) on Windows (e.g.:
AutoItScript).
b. I do not know the language and compiler in which it was
created.
c. I can get a list of symbols from it.
d. I have function definitions from this library.
Questions:
1. In this case, can I use this library in the D language program?
2. How to create initialization?
===== ===== ===== =====
Facts:
e. Subthread "Dynamically Loading a C++ DLL From a D Program",
from the article above.
f. I have a dynamic library created in C not C++ on Windows.
Questions:
3. Is it possible to use it regardless of the compiler that
created it (e.g.: MinGW, MSVC)?
More information about the Digitalmars-d-learn
mailing list