SafeLoalLibrary does nothing on non-Windows platform
Original Reporter info from Mantis: eugenekryukov
-
Reporter name:
Original Reporter info from Mantis: eugenekryukov
- Reporter name:
Description:
SafeLoadLibrary in SysUtils does nothing on non-Windows platform. It should call LoadLibrary at least, but it just return 0.
{$if defined(windows) or defined(win32)}
Result:=LoadLibraryA(PChar(Filename));
{$else}
Result:=0;
{$endif}
It is unusable in cross-platform application, if it doesn't make sense in non-Windows app, but it should just call LoadLibrary.
Mantis conversion info:
- Mantis ID: 32314
- Platform: non Windows
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 37050 (#a4c4ce17)
- Target version: 3.2.0