I found a Workaround. I work on a x64 Architecture
The issue was on this line
KeyAuthApp.regstr(username, password, key);
So I commented it out and don't use it.
But now I face a new Problem I try to solve
can I post it here in this thread or should I start a new one?