mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2012-12-12 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Changed the flags of LoadLibraryEx. Fixes a bug when loading event descriptions from exe files. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
484e7787e9
commit
7f9d5d2c71
@ -1,3 +1,9 @@
|
|||||||
|
2012-12-12 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* modules/pandora_module_logevent.cc: Changed the flags of
|
||||||
|
LoadLibraryEx. Fixes a bug when loading event descriptions
|
||||||
|
from exe files.
|
||||||
|
|
||||||
2012-11-20 Sergio Martin <sergio.martin@artica.es>
|
2012-11-20 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* pandora_windows_service.h
|
* pandora_windows_service.h
|
||||||
|
@ -357,7 +357,7 @@ Pandora_Module_Logevent::getEventDescription (PEVENTLOGRECORD pevlr, char *messa
|
|||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
// Load the DLL
|
// Load the DLL
|
||||||
module = LoadLibraryEx (dll_start, 0, DONT_RESOLVE_DLL_REFERENCES);
|
module = LoadLibraryEx (dll_start, 0, 0x20 | 2);
|
||||||
if(module == NULL) {
|
if(module == NULL) {
|
||||||
pandoraDebug("LoadLibraryEx error %d. Exe file path %s.", GetLastError(), exe_file_path);
|
pandoraDebug("LoadLibraryEx error %d. Exe file path %s.", GetLastError(), exe_file_path);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user