🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Attach batch process

#10591
From: Dave
Date: Tue, 30 Mar 2004 04:19
19 lines
1541 bytes
On Mon, 29 Mar 2004 14:28:39 -0500, fisher wrote:

> Hello,
> 
> Please tell me if this is the right message board or not. I have an old
> executable, but, no source code for it. Basically, I want to run a batch
> process to move files, once the executable has been selected to run. Can I
> do this through the registery, or is there some other way that I can make
> this happen?

What you could do is create your own application that will
check at timed intervals whether your old executable is running
and if yes launch your batch.

For that I would use a Timer, the FindWindow API as well as ShellExecute
(or CreateProcess)

If you need more help let me know,
David
Technical Details
Message-ID: <10lf17nh1wrtq$.60hma7g7758h.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <406877e2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9bf6395748866068
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-29 20:23:31 PST
From: Dave <dave_xse@-spam-hotmail.com>
Subject: Re: Attach batch process
Newsgroups: borland.public.cppbuilder.nativeapi
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <406877e2@newsgroups.borland.com>
Date: Tue, 30 Mar 2004 12:19:57 +0800
Message-ID: <10lf17nh1wrtq$.60hma7g7758h.dlg@40tude.net>
User-Agent: 40tude_Dialog/2.0.5.1
NNTP-Posting-Host: 202.72.161.99
X-Trace: newsgroups.borland.com 1080620395 202.72.161.99 (29 Mar 2004 20:19:55 -0800)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail