Is there anyway that i can mask password by asterisk (*) in c++ application (I use visual C++ 6)? (means when I enter my password, it prints out the '*' instead of the letter that I enter from the keyboard)
Please help asap.
Thanks a lot.
GH
Don't think so either. I think those characters are being echoed before you can read them in. You can try something with hooks though...
Greetings,
Rick
Look up the SetWindowsHookEx function in the MSDN. It allows you to hook windows, the keyboard and other things. You might be able to intercept the characters and send dummies to the console this way...
Greetings,
Rick
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.