Article View: borland.public.cppbuilder.nativeapi
Article #16697Re: A simple way to run JPEG Load image in Background?
From: Remy Lebeau (TeamB)
Date: Wed, 30 Apr 2003 03:36
Date: Wed, 30 Apr 2003 03:36
13 lines
1381 bytes
1381 bytes
"Phuoc Can HUA" <home}a+t{huaonline.com> wrote in message
news:oproe6pqc6bq7az6@newsgroups.borland.com...
> I'm using TJPEGImage and LoadFromFile(). I would like
> my program continues while it's loading. Do I have to put
> the load picture in a TThread
Yes. A thread (whether the main thread or a worker thread) can only do 1
thing at a time. To perform multiple operations at the same time, you need
multiple threads.
Gambit
Technical Details
Message-ID:
<3eaf4464$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<oproe6pqc6bq7az6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,8877d08b3e04b2c5 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-29 20:37:02 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <oproe6pqc6bq7az6@newsgroups.borland.com> Subject: Re: A simple way to run JPEG Load image in Background? Date: Tue, 29 Apr 2003 20:36:20 -0700 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3eaf4464$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051673700 207.175.226.26 (29 Apr 2003 20:35:00 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail