[Lazarus] Where do lazarus apps look for dll's?
Sven Barth
pascaldragon at googlemail.com
Fri Aug 1 14:49:36 CEST 2014
Am 01.08.2014 11:21 schrieb "Michael Schnell" <mschnell at lumino.de>:
>
> On 08/01/2014 12:45 AM, Maxim Ganetsky wrote:
>>
>>
>> 64-bit DLL versus 32-bit application or vice versa?
>>
> (Why) does this not result in a more specific error message ?
> (How) can the calling program know about the "bittiness" of a dll / so it
tries to load ?
One *could* differentiate it. Windows.LoadLibrary() returns
ERROR_MOD_NOT_FOUND if the file does not exist and ERROR_BAD_EXE_FORMAT if
the file is not a PE file or the architecture does not match.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140801/b7e56354/attachment-0003.html>
More information about the Lazarus
mailing list