Am 01.08.2014 11:21 schrieb "Michael Schnell" <[email protected]>: > > 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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
