Open User4martin opened 5 years ago
SHA-1: 76e377efa5fddc55b3a6a3a3d944317bdfde4a12 Add ProcessDllImportEx2 which gives more info back to caller.
adds
ErrorCode := ERROR_MOD_NOT_FOUND;
This fails under fpc, when building for linux (and probably other none windows targets)
At least fpc 3.0.4 does not define ERROR_MOD_NOT_FOUND except for windows, wince, ...
fpc does also not have GetLastError for linux
SHA-1: 76e377efa5fddc55b3a6a3a3d944317bdfde4a12 Add ProcessDllImportEx2 which gives more info back to caller.
adds
This fails under fpc, when building for linux (and probably other none windows targets)
At least fpc 3.0.4 does not define ERROR_MOD_NOT_FOUND except for windows, wince, ...