delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/27/13:43:05

From: "Edmund Horner" <edmund1 AT geocities DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <s97hls8hlhbikfhjkaut11p3lavr480eq2 AT 4ax DOT com>
Subject: Re: They do NOT run the same! W95/DOS!
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: Paradise Net Ltd. Customer
Message-ID: <962113704.228207@shelley.paradise.net.nz>
Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-79-65-99 DOT tnt8 DOT paradise DOT net DOT nz
X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/)
Date: Wed, 28 Jun 2000 01:48:43 +1200
NNTP-Posting-Host: 203.96.152.26
X-Complaints-To: newsadmin AT xtra DOT co DOT nz
X-Trace: news.xtra.co.nz 962113722 203.96.152.26 (Wed, 28 Jun 2000 01:48:42 NZST)
NNTP-Posting-Date: Wed, 28 Jun 2000 01:48:42 NZST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Mouse:
You need to have a mouse driver loaded in DOS for it to work, usually called
MOUSE.COM or similar.  Unfortunately they can be hard to find with the
advent of Windows.

File-finding:
It may have something to do with LFN support -- try looking in the FAQ about
it, I don't know exactly what the problem might be, but I suspect you might
have to set a flag somewhere before using findfirst() etc.

Edmund.

> Why is it I find that most things compiled from a Win95 DOS shell
> appear to work just fine... if allegro is used, the graphics and mouse
> support is perfect....
> do into pure MS-DOS 6.22 and try to run the EXACT same program
> and you get CORE-DUMPS and the MOUSE will HANG-THE-COMPUTER!
>
> How can I be certain that my programs REMAIN DOS FRIENDLY ALL THE
> TIME.  NON of my projects will ever require Win95 !!
>
> 1) most heard complaint I am getting:
>     the program hangs.  Problem appears to be directly related to
> whether Allegro MOUSE support is compiled in or not.
>   OBSERVATION:if running from a Win95 DOS-SHELL...theres NO PROBLEM!
>
> 2) second heard complaint:
>     trying to generate a list of files in a directory goes well,.
>     but when trying to  find_first/find_next the names are either
>     not found, or attempting to   strupr/strlrw results retuned by
>     find_first/next causes a CORE-DUMP....
>    HOWEVER:the file-find_first/next works PERFECTLY if you
>     run from a Win95 DOS-SHELL!
>     what gives?



- Raw text -


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