🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DOS application title

#3511
From: Vladimir Grigoriev
Date: Wed, 07 Jun 2006 09:26
41 lines
2256 bytes
Yes it is 16-bit DOS application.
I has been thinking about Get Application Title service but it does not work
on XP.

Get Application Title
Copies the application title to the specified buffer.
mov ah, 16h ; Windows multiplex function
mov al, 8Eh ; VM Title
mov di, seg AppTitle ; see below
mov es, di
mov di, offset AppTitle
mov cx, Size ; see below
mov dx, 2 ; Get Application Title
int 2Fh
cmp ax, 1
je success

Vladimir Grigoriev

"Pete Fraser" <pete.nospam.fraser.nospam@frasersoft.nospam.net> wrote in
message news:4486924b@newsgroups.borland.com...
> So it is a 16 bit application?
> If it's 32 bit then it's a Win32 Console app
> HTH Pete
>
> "Vladimir Grigoriev" <vlad.moscow@mail.ru> wrote in message
> news:44869043@newsgroups.borland.com...
> > Bob
> > It is indeed DOS appliction. So I only can use DOS services.
> > Vladimir Grigoriev
> >
> > "Bob Gonder" <notbg@notmindspring.invalid> wrote in message
> > news:61ub82doc0h4dh38vmf036c6dl36cd6pk4@4ax.com...
> >> Vladimir Grigoriev wrote:
> >>
> >> >How to get in DOS application running under Windows XP its title?
> >>
> >> If it is not actually a DOS application, but instead a Win32 Console
> >> application (large difference), use GetApplicationTitle().
>
>
Technical Details
Message-ID: <44869ba3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <448598f6@newsgroups.borland.com> <61ub82doc0h4dh38vmf036c6dl36cd6pk4@4ax.com> <44869043@newsgroups.borland.com> <4486924b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7ae9512679517f2b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Grigoriev" <vlad.moscow@mail.ru>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <448598f6@newsgroups.borland.com> <61ub82doc0h4dh38vmf036c6dl36cd6pk4@4ax.com> <44869043@newsgroups.borland.com> <4486924b@newsgroups.borland.com>
Subject: Re: DOS application title
Date: Wed, 7 Jun 2006 13:26:28 +0400
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
NNTP-Posting-Host: 195.212.29.179
Message-ID: <44869ba3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1149672355 195.212.29.179 (7 Jun 2006 02:25:55 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail