Article View: comp.os.os2.programmer
Article #1945Re: Some programming questions. HELP !
From: John J. Allen
Date: Thu, 08 Oct 1992 10:55
Date: Thu, 08 Oct 1992 10:55
17 lines
1231 bytes
1231 bytes
os2man@panix.com (Larry Salomon Jr.) writes: : In <SO-ECS.92Oct7091401@stekt2.oulu.fi> so-ecs@stekt2.oulu.fi (Derek Heino Jr) writes: : : >Here wo go: : : >1. After inserting 1271 items in a combobox, I get a WIN1012 error: : >Maximum heap size reached: 65532 bytes. Those items that I inserted : >are strings with length of 29 bytes ( 29*1271=about 36kB ). So what I : >going to do ? Increase heap ( HOW ? )... : : Nope. You're stuck. The listbox (which is part of a combobox) only : allows you to insert 32k of data (I forgot exactly the reason why it : isn't 64k, but I believe it has something to do with internal state : data per item that is maintained). The only thing you can do is write Does this just apply to 1.x, as I'm sure I've added hundreds of K of data to a listbox under 2.0.
Technical Details
Message-ID:
<1992Oct8.105537.17946@wsl.ie>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!ieunet!wsl!jjaReferences:
<1992Oct7.141748.27914@panix.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ieunet!wsl!jja From: jja@wsl.ie (John J. Allen) Subject: Re: Some programming questions. HELP ! Message-ID: <1992Oct8.105537.17946@wsl.ie> Organization: Project Papyrus, AIRAID, Dublin, Ireland References: <1992Oct7.141748.27914@panix.com> Distribution: comp.os.os2.misc,comp.os.os2.programmer Date: Thu, 8 Oct 1992 10:55:37 GMT Lines: 17