Forum: Sonstige Fragen zu Delphi
Delphi
by AJ_Oldendorf,
3. Jan 2017
Übrigens, in meiner XE7 Umgebung geht es nur, wenn ich wie ursprünglich geschrieben "SafeLoadLibrary" nehme anstatt "LoadLibrary". Wenn ich nur "LoadLibrary" nehme, bekomme ich in der XE7 Umgebung auch Fehler 126.
Forum: Sonstige Fragen zu Delphi
Delphi
by AJ_Oldendorf,
3. Jan 2017
Mist, in der XE7 Umgebung habe ich gar nicht geguckt. Sorry mein Fehler. Prüfe ich
Forum: Sonstige Fragen zu Delphi
Delphi
by AJ_Oldendorf,
3. Jan 2017
Auch ohne komplette Pfadangabe und mit LoadLibrary kommt ErrorCode 126
Forum: Sonstige Fragen zu Delphi
Delphi
by AJ_Oldendorf,
3. Jan 2017
Habe es so versucht:
LoadLibrary(@sFilePath); //SafeLoadLibrary(sFilePath);
GetLastError:
ERROR_MOD_NOT_FOUND
126 (0x7E)
The specified module could not be found.