🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to terminate a application immediately

#15507
From: Vladimir Afanasyev
Date: Wed, 02 Jul 2003 12:21
17 lines
1377 bytes
Hi,

"HuangC" <HuangC@motic.com.cn> wrote:
>hi all,
>
>I want to terminate a application immediately
>when the initialize some object failed in the
>construct funtion.I try to use
>Application->Terminate(); return;
>but the application continue creating other forms however.
>
>any hint? TIA
>

Do you tried ExitProcess Win32 API function?
Vladimir.
Technical Details
Message-ID: <3f02ce63$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!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f0238c6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2d8349b0d005c697
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-02 05:26:52 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: How to terminate a application immediately
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.244.14.114 62.244.14.114    
X-Forwarded-For: 192.168.0.147
References:  <3f0238c6$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f02ce63$1@newsgroups.borland.com>
Date: 2 Jul 2003 05:21:55 -0700
X-Trace: newsgroups.borland.com 1057148515 207.105.83.65 (2 Jul 2003 05:21:55 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail