Any ideas for a work around with LogonUser?

I'm making a lockout system and I just found out that I can't use a blank password with LogonUser. I know that windows is able to tell if you have a blank password or not, IE vista,7,etc. So there must be a way to get around this.

Does anyone know how to check a username with a blank password without editing security keys in the registry?

Thank you
As posted in this article, just check GetLastError if it returns rror code 1327:
Thank you very much. Out of all the sites I looked on google, I never come accross that one and I never knew or even though about using GetLastError for something like that.

I'll keep that in mind from now on and again, thank you very much :)
Topic archived. No new replies allowed.