Article View: borland.public.cppbuilder.nativeapi
Article #13116Returning ERRORLEVEL
From: Denville Longhurst
Date: Mon, 27 Oct 2003 22:22
Date: Mon, 27 Oct 2003 22:22
7 lines
1108 bytes
1108 bytes
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:
<3f9d9ab0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,6211acfb31792,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-27 14:39:49 PST From: "Denville Longhurst" <Denville@metco.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Returning ERRORLEVEL Date: Mon, 27 Oct 2003 22:22:43 -0000 Lines: 9 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: <3f9d9ab0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067293360 80.0.6.170 (27 Oct 2003 14:22:40 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail