🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #401

Re: File size limit ?

#401
From: Steffen Krause
Date: Thu, 09 Apr 1992 09:22
8 lines
989 bytes
Sure edit controls ( and TFileWindow built on top of it) have a limit of 
about 32KByte of text. The reason is that edit controls allocate their
buffer from the program's local (!) heap, which is only up to 64 kByte in
size. So if you have a lot of the local heap allocated, edit controls even
may have a smaller limit.
To avoid this problem you have to write your own edit window.

Steffen Krause  skrause%hp832@hubinf.informatik.hu-berlin.de
Technical Details
Message-ID: <3757@hp832.hubinf.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!unido!hubinf!skrause
References: <1992Apr2.170151.3597@kodak.kodak.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!unido!hubinf!skrause
From: skrause@hubinf.UUCP (Steffen Krause)
Newsgroups: comp.windows.ms.programmer
Subject: Re: File size limit ?
Summary: Edit Control allocates local heap
Keywords: Edit Controls
Message-ID: <3757@hp832.hubinf.UUCP>
Date: 9 Apr 92 09:22:34 GMT
References: <1992Apr2.170151.3597@kodak.kodak.com>
Sender: Steffen Krause <skrause@informatik.hu-berlin.de>
Followup-To: <1992Apr2.170151.3597@kodak.kodak.com>
Distribution: comp.windows.ms.programmer
Organization: FB_16
Lines: 8