Record returning functions x64

Make them work. Currently, the result is not passed on the stack leading to stack corruption
Remove warnings

Implicit conversion from ansi to unicode
Remove warnings

Implicit conversion from Ansi to Unicode
Merge pull request #75 from velter/patch-5

x64 fix + warnings remove