🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13971

How to Trigger the Main Program from a Timer Procedure?

#13971
From: Phuoc Can HUA
Date: Mon, 01 Sep 2003 07:24
14 lines
1420 bytes
In my program there's a timer processing some data based on an input 
(loaded) file which is loaded from the main program. Now I want the main 
program to load the next file as soon as one file is done.

How can the timer 'tell' the main program that next file has to be loaded? 
Since the loading of a file could take relatively long or even error, so 
that I don't want to put it into the timer procedure.

Phuoc Can HUA

-- 
_/\__/\__/\__/\__/\__/\_
www.huaonline.com
My Homepage is my Castle
Technical Details
Message-ID: <oprus769kobq7az6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,e4cd861378e7d24,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-01 00:37:12 PST
Content-Type: text/plain; charset=iso-8859-15; format=flowed
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to Trigger the Main Program from a Timer Procedure?
From: Phuoc Can HUA <home}a+t{huaonline.com>
MIME-Version: 1.0
Date: Mon, 01 Sep 2003 17:24:35 +1000
Message-ID: <oprus769kobq7az6@newsgroups.borland.com>
User-Agent: Opera7.10/Win32 M2 build 2840
NNTP-Posting-Host: 203.194.21.162
X-Trace: newsgroups.borland.com 1062401387 203.194.21.162 (1 Sep 2003 00:29:47 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail