delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/18/10:45:25

Date: Sun, 18 May 1997 17:42:30 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jason Barstow <jb3207 AT eclipse DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Creating PIFs (WAS Re: Allegro problems)
In-Reply-To: <337b9736.0@ispc-news.cableinet.net>
Message-ID: <Pine.SUN.3.91.970518174002.16797J-100000@is>
MIME-Version: 1.0

On Thu, 15 May 1997, Jason Barstow wrote:

> Problem is, when I create a .PIF it gets written with whole paths in it.
> It's pretty unlikely my end users are going to use the same path as
> me (W:\WIP\...) I've tried hacking the .PIF in a bineditor but this just
> causes explorer to crash!

Why do you need an absolute pathname in the PIF?  Just say "myprog.exe" 
and ask people to put the directory on their PATH.  Then Windows will 
find the PIF and will be happy.

Btw, Windows 3.x doesn't have any DPMI settings on the PIF, you need to 
set the XMS limit to -1 instead.  As for Windows 95, I don't know what's 
in its PIF and whether DPMI is there.  Anybody?

- Raw text -


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