quote:
Originally posted by CookieRevised
Nevertheless, this time the blame was on my part. Though, you could've found where it went wrong if you'd understand what the code does (instead of simply copy/pasting).
Both lines with
GetWindowText CurHwnd, T, Length
must be
GetWindowText CurHwnd, T, Length + 1
and you should have replaced the obsolete GetWindowWord() API with GetWindowLong(), as stated in the comments...
I've done both edits in the source for you now...
It worked this time. Thank you
What I'm trying to do is make a program that will automaticly update my computer when clicked. So like it will update norton antivirus and anti-spyware programs by its self. I makeing it for my Grand father since hes not the best on computers and often gets confused.
EDIT: I tryed that code with Norton System Works and MS Anti-Spyware and it finds the Window but cant find the button in the window to click.