How to connect the library to the project DLL and use the procedure / function?
I have a *.dll
, I created *.Def
file, created *.dll.a
, *.ali
and *.o
, as its use is not clear.
Set an example for the use of ...
To link with a dll you first have to know the location of the dll library in relation to the where your binary application will be on the user's computer (its file path) -- then use the pragma "Link_With".
If you wanted to link with opengl on windows you would do all of the c imports into a package spec and put something like this in the file:
pragma Link_With("/Windows/System32/opengl32.dll");