BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Memory usage

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Peter S.
Guest





PostPosted: Sat Apr 24, 2004 2:57 pm    Post subject: Re: Memory usage Reply with quote



The twain call is :

TWAcquire(application.Handle,bit, false);

where bit is a TBitmap which I create every time before scanning and free it
afterwards

Ο "Peter S." <peter (AT) hotmail (DOT) com> έγραψε στο μήνυμα
news:408a8069 (AT) newsgroups (DOT) borland.com...
Quote:
Hello all,

I write an application where I use JEDI's TWAIN so that the user can scan
images directly from inside the app. Here is what I do :

1. Run the task manager
2. Run my app
3. At that point the memory usage says aprox. 5 MB
4. I scan an image
5. The memory usage now shows 32 MB
6. I minimize my app and restore it, now it says aprox. 3 MB

Any ideas anyone?





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.