I am trying to use the GetWindowText API call in order to retrieve the caption that appears in the spy++ window. It is returning no value. I am using this syntax GetWindowText orig, caption, 100. I have tried sending both of the last parameters byval. I noticed I am incapable of getting wm_gettext to work correctly as well. I always get a null string. Orig is a long, caption is a string. Any help woudl be much appreciated. Thank you very much.

Joe