GetWindowText is ruining my carefully crafted program! Everytime I uncomment it, my prog freezes. I can't bring up its menus, it doesn't respond to the mouse clicks on the system tray, and it won't perform. Please help.

Many thanks,
Posted on 2001-11-01 21:23:12 by lackluster
Thats a little strange.... is the buffer as big as you specified to the call?
Posted on 2001-11-01 21:26:08 by Eagle17
Yeah. In fact, it writes the data out to a file flawlessly. I don't get it.
Posted on 2001-11-01 21:32:10 by lackluster
Even stranger ... it went away! Sorry to waste board space... although I would still be intrested if anybody else has gotten this problem.
Posted on 2001-11-01 21:38:59 by lackluster
Do the buffer bytes belong to the stack? Maybe the buffer is very big and you are overwritting stack data?
ESI,EDI,EBX preserved?
Dunno... just some ptrs.

Posted on 2001-11-02 09:10:38 by latigo