Resolves#281
This PR adds a new `dll_LoadLibrary` function to `dll.obj` that loads a single library by name or full path, auto-calls `lib_init`, and returns the export table pointer.
`dll_load` is refactored on top of `dll_LoadLibrary`.
---------
Co-authored-by: Burer <burer@kolibrios.org>
Reviewed-on: #370
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Reviewed-by: Burer <burer@kolibrios.org>
Co-authored-by: hrigar <h4gar02@protonmail.com>
Co-committed-by: hrigar <h4gar02@protonmail.com>
place dll.inc in /programs
delete all the other dll.inc and mem.inc files
correct some programs to use common dll.inc
git-svn-id: svn://kolibrios.org@3014 a494cfbc-eb01-0410-851d-a64ba20cac60