Question Set text into password edit field

WG1

Member
Joined
Mar 12, 2010
Messages
8
Programming Experience
Beginner
Need to set text into a password edit field on a logon prompt. Tried this:
SendMessage(lhwnd, WM_SETTEXT, 0, "mypassword")
Got an error "Attempted to read or write protected memory"
Please help.
 
Back
Top