delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/28/22:45:20

From: "Matthew Smith" <matt AT the-good-stuff DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: porting <dir.h> etc. to msvc
Date: Fri, 29 Sep 2000 03:12:55 +0100
Organization: Customer of Energis Squared
Lines: 19
Message-ID: <8r0tfa$3oe$1@newsg2.svr.pol.co.uk>
References: <8qtjsd$78b$1 AT news5 DOT svr DOT pol DOT co DOT uk> <8qtti5$mpq$1 AT neptunium DOT btinternet DOT com>
NNTP-Posting-Host: modem-134.hydrogen.dialup.pol.co.uk
X-Trace: newsg2.svr.pol.co.uk 970193194 3854 62.136.0.134 (29 Sep 2000 02:06:34 GMT)
NNTP-Posting-Date: 29 Sep 2000 02:06:34 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I meant specifically the findfirst and findnext functions which work from
ffblk structures.
I have converted dir.h to vc format and started to write wrappers for the
funcs prototyped.therin
I got distracted by adding  #ifdef _MSC_VER blocks to my program instead

I would ideally like a file called dj.lib in my msdev/lib and versions of
all the standard headers
this would allow DJGPP programs to be compiled with minimal adaptation

I can see problems with inevitable name clashes and patching extra
prototypes in existing .h files

I agree it would be better to use ANSI or POSIX functions in the first place
if portability is important




- Raw text -


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