Hi all,
I developped an application for NT based on the Win32 SDK wich uses the
function SetDlgItemText to pass some 15000 chars into an edit field.
Now I'm trying to port the app to Win95 and the very same function does
not fail but the edit field stays empty.
Reducing the input to less than 13000 chars works fine, but I need the 15000.
Does anybody know how to work around this problem?
Comments
the styles I'm using are:
Multiline, Vertical Scroll, Auto VScroll, Border, Uppercase
and Read-only.
The weired thing about it is, that the SetDlgItemText
function returns no error at all.
Still cant see any problems. Wrote this test and its working fine on 95 and NT
http://www.geocities.com/SiliconValley/Orchard/5890/BigEditTest.zip
Maybe its somewhere else in the code..
think you're right. Must be somewhere else in the
code. Originally this app was written for Win3.1.
Somebody ported it partially to NT and now it shall
run also under 95. So I've got lots of old stuff in
it. I also tried your sample with success.
I had some other ideas with linker options and so on
(the doc says that this error might happen when windows
can't allocate enough stack mem for getting the whole
bunch of text into) - but didn't succeed.
Thank you very much for your help.
I'll let you know when I found it!
Good luck catching the bug