AuthenticateUser returns LA_E_AUTHENTICATION_FAILED in C, but works in Pytnon

Hello, there!

I am trying to use Cryptlex in a C project, but when I try to authenticate the user, it gets LA_E_AUTHENTICATION_FAILED every time, but when I do the same in my Python project the authentication passes.

I have tried to use the vc14 dlls for x86 and x64 and both gave the samer result, I tried to build with gcc and msvc also and same result for both.

Am I missing something for the C part?

Thanks,

Augusto