>With short and integers is the return value is still 0
>and the GetlastError is 127
GetLastError returns 127 because you have declared it after the call of LogonUser. Declare it before that call.
Vlad
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only