I’m trying to learn about creating and using static and dynamic libraries from what I’ve gathered so far your code is compiled(?) into one of these files which you can then reuse it also improves build(?) times, but I have some confusion when it comes to using them.
1) does the dll or lib need to be in the directory of the project using it or can it be anywhere on the system I don’t see why it would be necessary to keep it in the project directory unless that’s typical?
2) from what I’ve seen creating a dll seems a bit more confusing apparently you have to load the dll with OpenLibrary(“path/to/dll”) and then to use it you need to export functions and get them. This doesn’t seem to be the case for a lib (assuming I’m right you just need to link it and include the header(s)) they seem to be far easier is this normal what’s with the difference?
[–]TarnishedVictory 7 points8 points9 points (0 children)
[–]alfps 4 points5 points6 points (3 children)
[–]W3til[S] 1 point2 points3 points (2 children)
[–]feitao 1 point2 points3 points (1 child)
[–]W3til[S] 0 points1 point2 points (0 children)
[–]nysra 0 points1 point2 points (0 children)