delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/02/13:01:58

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to change the "load error : No dpmi Get cwsdpmi*b.zip" message
Date: Thu, 31 Jul 1997 17:11:20
Organization: Aspen Technology, Inc.
Lines: 13
Message-ID: <33e0c738.sandmann@clio.rice.edu>
References: <ww03-BgEa4V2545 AT netaddress DOT usa DOT net>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: spica.dmccorp.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> Whenever I run my own djgpp compiled program without a dpmi server or 
> without the file cwsdpmi.exe I get a message "load error : No dpmi Get 
> cwsdpmi*b.zip". Is it possible for me to change the message in the source 
> code to something else like "DPMI server or CWSDPMI.EXE not found" ?? 

Yes, two ways:

1) Get the DJGPP source zip, cd src/stub, edit stub.asm, djasm it, and 
   use it as the stub.
2) Use a binary editor to change the string in the stub of the image you
   distribute - your desired string is shorter so can easily replace 
   the current string. You could write a quick C program to find/rewrite 
   this string in the image also.

- Raw text -


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