delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/10/13:46:25

From: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Setting program name?
Date: Wed, 10 Dec 1997 08:19:44 -0500
Organization: Cornell University (http://www.cornell.edu/)
Lines: 43
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <348E96F0.F412C5E4@cornell.edu>
References: <66korf$mul AT news DOT euro DOT net> <348DF1C2 DOT C3E83797 AT cornell DOT edu> <348E6F9E DOT 22BA AT trash DOT lip6 DOT fr>
NNTP-Posting-Host: cu-dialup-0043.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> A. Sinan Unur wrote:
> >
> > Steven Don wrote:
> > >
> > > Hi, I've just started using DJGPP and like it very much. My question
> > > doesn't really regard DJGPP, but more a trick that RHIDE performs.
> > > When running RHIDE in a Win95 DOS box, it changes the name of the DOS
> > > box (and resets it when quitting). Does anybody know how this is
> > > performed? Somebody knows, of course.
> >
> > it has nothing to do with rhide. it is windows 95.
> 

well, i was wrong. here is the info from Ralph Brown:

Category: W - MS Windows

Inp.:
	AX = 168Eh
	DX = 0000h
	ES:DI -> ASCIZ application title (max 79 chars+NUL)
Return: AX = status
	    0000h failed
	    0001h successful
Note:	if ES:DI is 0000h:0000h or points at an empty string, the current 
title is removed
BUG:	this function can return a successful status even though the title
was not changed; reportedly, waiting for two clock ticks after program 
startup solves this problem

SeeAlso: AX=168Eh/DX=0001h,AX=168Eh/DX=0002h
INT 2F

Copied from Ralf Brown's Interrupt List

-- 
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA

mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019