http://bugs.winehq.org/show_bug.cgi?id=13319
--- Comment #9 from Bob Smith bsmith@sudleyplace.com 2008-05-29 12:30:15 --- (In reply to comment #8)
I compiled and ran your test program under wine. (Just change EditWndProcW to EditWndProc) and it doesn't look like strl ever becomes greater than strlenW(lpsz_replace).
1. I assume you also changed the value of LECWNDCLASS.
2. Did you insert the debug statements into EDIT.C?
3. The default buffer size is 30000 bytes in my configuration. What is it in yours?