On 08/01/2014 02:49 PM, Sven Barth wrote:

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.


Nice !

But I suppose One *should* only differentiate if it can be done with other OSes, as well.

.
-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to