The problem was in difference in time_t
declarations. Library means it is 64-bit, but application waits for 32-bit value.
The remaining question is "why there is no good documentation for MSVS name mangling"? I've read a lot, but didn't find what is the underline in parameters list.