Article View: borland.public.cppbuilder.nativeapi
Article #13152Re: Returning ERRORLEVEL
From: Denville Longhurst
Date: Wed, 29 Oct 2003 10:42
Date: Wed, 29 Oct 2003 10:42
18 lines
1369 bytes
1369 bytes
Thank you all, I just altered the WinMain exit and all is as required. Thanks again! Denville. "Denville Longhurst" <Denville@metco.co.uk> wrote in message news:3f9d9ab0@newsgroups.borland.com... > Could anyone tell me how to return a specific errorlevel from a standard CPB > GUI application so that I can test the return in a batch file (I know how to > do the batch file bit). > > I have tried PostQuitMessage(5) but it still returns errorlevel 0. > > Many thanks. > >
Technical Details
Message-ID:
<3f9f9977$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp.abs.net!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f9d9ab0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,6211acfb31792 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-29 02:44:33 PST From: "Denville Longhurst" <Denville@metco.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f9d9ab0@newsgroups.borland.com> Subject: Re: Returning ERRORLEVEL Date: Wed, 29 Oct 2003 10:42:03 -0000 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 NNTP-Posting-Host: 80.0.6.170 Message-ID: <3f9f9977$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067424119 80.0.6.170 (29 Oct 2003 02:41:59 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp.abs.net!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail