Re: TBitmap memory allocation
- From: nic@xxxxxx (Nicolai Hansen)
- Date: 20 Jul 2005 06:36:50 -0700
Nicholas Sherlock <n_sherlock@xxxxxxxxxxx> wrote in message news:<dbl5e9$13v$1@xxxxxxxxxxxxxxx>...
> Nicolai Hansen wrote:
> > I have a problem; I'm working on a project where we need to allocate a
> > lot (up to some 5000) TBitmaps, usually very small ones, and feed them
> > with data from some files.
>
> The problem may be memory, but there is something that you will run into
> first (On windows 98. 2000+ doesn't suffer from this problem). This is a
> lack of GDI handles. Windows 98 has a _very_ limited amount of these,
> and every bitmap will use at least one. Redesign or upgrade OS.
>
> Cheers,
> Nicholas Sherlock
We are running Windows 2000... I suspected the GDI handles to be the
problem in the end, but what do I do? :S
For J - its for an industrial application printing on lottery coupons
at very high speeds. Every letter on the coupon is a small bitmap,
every symbol is a small bitmap, etc. Our customer tells us that they
can easily use 20 different sets of symbols ("fonts") in each job; a
font consist of up to 256 characters, all of which must be pre-loaded
for speed...
If I can't sort this out using TBitmaps I will have to redo stuff to
use home made "TBitmap"s instead, replacing the TCanvas with a normal
byte array or something... Will be a true pain as I will have to
program new draw methods myself :S
.
- Follow-Ups:
- Re: TBitmap memory allocation
- From: J French
- Re: TBitmap memory allocation
- From: Tom de Neef
- Re: TBitmap memory allocation
- References:
- TBitmap memory allocation
- From: Nicolai Hansen
- Re: TBitmap memory allocation
- From: Nicholas Sherlock
- TBitmap memory allocation
- Prev by Date: Docking Misery !! Please Help !!
- Next by Date: Re: TBitmap memory allocation
- Previous by thread: Re: TBitmap memory allocation
- Next by thread: Re: TBitmap memory allocation
- Index(es):
Relevant Pages
|