@Fluffy
I'm not exactly sure what you mean by runtime libraries but if I recall correctly, I compiled both the main coldet.dll and my helper dll using Mingw GCC version 3.4.2. As far as Windows library dependencies, coldet.dll uses KERNEL32.DLL and MSVCRT.DLL and dbcwithcoldet.dll of course relies on coldet.dll whic of course has ties to kernel32.dll and msvcrt.dll. So there's really nothing kooky going on.
Your error message:
Line Number:3181
Command Number:9721
Internal Error Code:0
P1:0
P2:1
P3:coldetInitialize
P4:0
P6:0
P7:0
P9:0
is specifically referring to the CALL DLL command. The P1, P2 etc. are return values that describe what the error is and what it's relating to or when it was stopped in the process - however, I don't know what the return values for those fields are. If I were to guess, based on behavior I've seen with coldet, it is that
coldet.dll cannot be found and therefore cannot be referenced properly by
dbcwithcoldet.dll. They may not be residing in the same directory or there could be a weird permissions thing going on.
LBFN was erroring out constantly on the DB noob project until I sent him a download with a specific directory structure and the most up to date coldet (which is in the coldet thread). It also contained code to call coldet functions. He no longer gets any errors.
So, unfortunately, there's no easy answer. It could be how the functions are being called, it could be the relationship between the two dlls, it could be improper use of of the library. My best guess is that dbcwithcoldet.dll can't find coldet.dll or the correct version of it to which it is paired.
Enjoy your day.