Joachim Bauch
|
a064d0e636
|
Support unicode compilation
|
2013-03-12 01:02:10 +01:00 |
|
Joachim Bauch
|
390efc33a1
|
Use new resource loading API
|
2013-03-12 00:44:17 +01:00 |
|
Joachim Bauch
|
f4d15a53ac
|
Added memory module resource loading API.
|
2013-03-12 00:43:57 +01:00 |
|
Joachim Bauch
|
132964d838
|
Store some resources in the DLL.
|
2013-03-12 00:33:30 +01:00 |
|
Joachim Bauch
|
a199afce7c
|
Use spaces instead of tabs - sorry for the noise.
|
2013-03-09 00:42:29 +01:00 |
|
Joachim Bauch
|
f210f67771
|
Check against NULL, not INVALID_HANDLE_VALUE.
|
2013-03-09 00:39:08 +01:00 |
|
Joachim Bauch
|
536a597836
|
Use "SetLastError" for errors in "GetProcAddress".
|
2013-03-09 00:37:11 +01:00 |
|
Joachim Bauch
|
c4e8de7d4f
|
Use "SetLastError" to flag errors to caller while loading.
|
2013-03-09 00:35:50 +01:00 |
|
Joachim Bauch
|
f7a34964ff
|
LoadLibrary returns NULL if loading failed
|
2013-03-09 00:03:04 +01:00 |
|
Joachim Bauch
|
6f4f2bdd5b
|
Handle OOM case for result object.
|
2013-03-08 23:58:49 +01:00 |
|
Joachim Bauch
|
44ae72da04
|
Added API to delegate resolving of dependencies to custom methods (github issue #5, inspired by pull request #9)
|
2013-03-08 23:57:07 +01:00 |
|
Joachim Bauch
|
0c19658eb1
|
Bump year in copyright
|
2013-03-05 01:16:14 +01:00 |
|
Joachim Bauch
|
7ffe0e2b66
|
Support passing the platform to build for (e.g. "make PLATFORM=x86_64" for 64bit build), defaults to i686).
|
2013-03-05 01:14:15 +01:00 |
|
Joachim Bauch
|
c23d0642d6
|
Added/updated makefiles to build all sample files using one "make".
|
2013-03-05 01:09:49 +01:00 |
|
Joachim Bauch
|
257a77c0e9
|
Ignore more built files
|
2013-03-05 01:07:52 +01:00 |
|
Joachim Bauch
|
1cc307a883
|
Support compilation using MinGW on Linux.
|
2013-03-05 01:02:09 +01:00 |
|
Joachim Bauch
|
d9a3b23830
|
Use \LoadLibraryA" to fix potential error when compiling with UNICODE being defined (github issue #6)
|
2013-03-05 00:46:11 +01:00 |
|
Joachim Bauch
|
c01e010793
|
Reserve and commit memory in one step (fixes error found by Coverity, CID 989314).
|
2013-03-05 00:40:27 +01:00 |
|
Joachim Bauch
|
2b846b727a
|
Removed logically dead code (found by Coverity, CID 989316).
|
2013-03-05 00:36:27 +01:00 |
|
Joachim Bauch
|
6a5d3d420e
|
Fixed potential memory leak if "realloc" fails.
|
2013-03-05 00:32:42 +01:00 |
|
Joachim Bauch
|
0f6bdc7c16
|
Fixed potential resource leak of library handle (found by Coverity, CID 989315)
|
2013-03-05 00:30:25 +01:00 |
|
Joachim Bauch
|
8a7f64ea3a
|
Use lowercase filename to support compilation on Linux using MinGW.
|
2013-03-05 00:27:43 +01:00 |
|
Joachim Bauch
|
d0cf3a2084
|
updated license to MPL 2.0
|
2012-06-28 19:42:15 +02:00 |
|
Joachim Bauch
|
ca4f504527
|
next release will be 0.0.3
v0_0_3
|
2012-04-09 22:13:02 +02:00 |
|
Joachim Bauch
|
73833b3eb5
|
"LoadLibrary" returns NULL instead of INVALID_HANDLE_VALUE on errors (Issue #2)
|
2012-04-09 22:08:25 +02:00 |
|
Joachim Bauch
|
7feb92c9ef
|
Bumped year in copyright
|
2012-04-09 22:07:14 +02:00 |
|
Joachim Bauch
|
5cc82f24d0
|
bumped year in copyright
|
2011-01-17 21:36:35 +01:00 |
|
Joachim Bauch
|
10b29c5045
|
Merge branch 'master' of github.com:fancycode/MemoryModule
|
2011-01-17 21:25:53 +01:00 |
|
Joachim Bauch
|
0ddce45dc5
|
fixed compilation with Vista SDK where "IMAGE_SIZEOF_BASE_RELOCATION" is no longer defined (GitHub issue #1)
|
2011-01-17 21:25:27 +01:00 |
|
Joachim Bauch
|
9e480a552e
|
use correct size for sections that have no raw size defined but define their data size
|
2010-10-24 22:19:26 +02:00 |
|
Joachim Bauch
|
178ea7363c
|
updated code layout
|
2010-10-24 22:17:57 +02:00 |
|
Joachim Bauch
|
b0e63038e2
|
removed macro to calculate addresses, not really needed
|
2010-10-24 22:10:25 +02:00 |
|
Joachim Bauch
|
75021eff5f
|
adjust addresses to protect by upper 32bit for 64bit modules
|
2010-10-24 03:03:35 +02:00 |
|
Joachim Bauch
|
2f0bb27c68
|
added support for 64bit DLLs
|
2010-10-24 02:48:19 +02:00 |
|
Joachim Bauch
|
285b108da0
|
added readme
|
2010-10-24 00:40:54 +02:00 |
|
Joachim Bauch
|
1ece5ca28d
|
updated year in copyright, updated notice about where to get code from
|
2010-10-24 00:39:24 +02:00 |
|
Joachim Bauch
|
a486d330f2
|
added makefiles to compile with mingw
|
2010-10-24 00:37:53 +02:00 |
|
Joachim Bauch
|
1f8eb009e5
|
set eol-style on all files
|
2010-10-23 22:29:04 +00:00 |
|
Joachim Bauch
|
85f8632489
|
small cosmetic changes
|
2006-03-23 21:45:06 +00:00 |
|
Joachim Bauch
|
3386ad9dfc
|
fixed compilation problems with gcc 3.2.3 (mingw special 20030504-1)
|
2005-04-27 19:18:39 +00:00 |
|
Joachim Bauch
|
01ff019269
|
license changed to MPL 1.1, updated copyright years
|
2005-04-08 13:44:21 +00:00 |
|
Joachim Bauch
|
b2e7e1e546
|
fixed casting bug on some compilers (reported by John S. Brumbelow)
|
2005-03-01 20:10:11 +00:00 |
|
Joachim Bauch
|
e952dd3cfa
|
fixed memory leak (VirtualFree must be called with zero size when releasing memory)
|
2005-01-26 15:24:52 +00:00 |
|
Joachim Bauch
|
be334a2b16
|
added download link for version 0.0.1
|
2004-12-02 00:09:49 +00:00 |
|
Joachim Bauch
|
a104efd19f
|
first released version will be 0.0.1
|
2004-12-01 23:50:50 +00:00 |
|
Joachim Bauch
|
50ff6eb112
|
- added section about exported functions
- added cross-references
|
2004-12-01 23:48:54 +00:00 |
|
Joachim Bauch
|
39c4c17ec1
|
fixed warnings when compiling with BCC55
|
2004-10-31 18:23:43 +00:00 |
|
Joachim Bauch
|
eb764af1ef
|
- updated to support imports by ordinal value
- doesn't break if library has no entry point
|
2004-10-31 13:30:43 +00:00 |
|
Joachim Bauch
|
a7a9eda6c4
|
- removed parameter "size" from "MemoryLoadLibrary" as it wasn't used
- updated import table loading code, now also works with Delphi .bpl files
- updated section copying code for uninitialized sections
|
2004-10-31 12:29:52 +00:00 |
|
Joachim Bauch
|
e32c546536
|
- debug output disabled by default
- tries to allocate memory at arbitrary address if specified ImageBase is invalid or cannot be allocated
|
2004-10-20 20:32:18 +00:00 |
|