GetWindowTextLength() = crash ?
hey, i'm having a problem with an MDI text editor where every time i try to call GetWindowTextLength(), my program crashes. EVERY TIME. :( its rather irritating and frustrating and if anyone knows why, the information would be greatly appreciated :) or even if anyone has a shot in the dark..anything.. lol thanks
oh yea, and i'm using the function in order to find out how much text has been entered in my edit control so that i can allot enough space in memory to hold the text in a buffer.