Commit Graph

11 Commits

Author SHA1 Message Date
Gregory Pakosz
ba75d51713 fixed off by 1 bug in getModulePath_ return value. Fixes #5
When passing -1 as input length, WideCharToMultiByte null-terminates
output which we do not want.
2016-09-08 18:57:48 +02:00
Gregory Pakosz
77ab6870d6 fixed getModulePath_ local buffer size incorrectly set to 1 for debugging purposes 2016-09-08 18:51:36 +02:00
Gregory Pakosz
73c56ffacc added support for FreeBSD. Closes #4. 2016-02-23 11:16:58 +01:00
Gregory Pakosz
8ad3792af0 fixed static analysis errors reported by Visual Studio 2015 2016-01-28 09:21:27 +01:00
Gregory Pakosz
783a033c9e made library, examples and Makefile MINGW64 friendly 2016-01-28 09:21:27 +01:00
Gregory Pakosz
9c53a0aae7 removed unused variable, fixes #2 2016-01-13 21:02:18 +01:00
Gregory Pakosz
d4275250d8 added GitHub URL in case the file spreads and people want to know upstream location 2016-01-12 23:53:21 +01:00
Gregory Pakosz
d0fc4161e8 fixed errors and warnings when building as C++ - fixes #1 2015-12-28 16:21:58 +01:00
Gregory Pakosz
946b114876 added support for Android M loading libraries straight from APK/ZIP files
Until https://code.google.com/p/android/issues/detail?id=193009 is fixed, the
only way to know the path of the library inside the APK/ZIP file is to explore
the ZIP content.

However, there is no need to read the ZIP central directory. We can scan
backwards from the mapped offset until we find the local file header.
2015-12-14 00:05:09 +01:00
Gregory Pakosz
e03e0adfed removed incorrect casts to DWORD in WideCharToMultiByte calls 2015-04-02 13:58:12 +02:00
Gregory Pakosz
76a7a85f8b initial commit 2015-03-05 20:19:44 +01:00