Thread View: comp.lang.basic.misc
34 messages
34 total messages
Started by Dennis Jarvis
Fri, 08 Mar 1996 02:32
Source Code?
Author: Dennis Jarvis
Date: Fri, 08 Mar 1996 02:32
Date: Fri, 08 Mar 1996 02:32
13 lines
1020 bytes
1020 bytes
Does anyone know if the source code for the Windows Write program is available or the specs for the .WRI file structure? Is it public domain? Is there a phone, email or other where I could get this info from Microsoft? I need to build a new application and this simple WP would be a great place to start without re-inventing the wheel. Thanks in advance for any help, email please. DJ Dennis Jarvis xfire@netrix.net
Re: Source Code?
Author: Chris Marriott
Date: Fri, 08 Mar 1996 08:58
Date: Fri, 08 Mar 1996 08:58
16 lines
1598 bytes
1598 bytes
In article <4ho68l$qhi@ruby.digisys.net>, Dennis Jarvis
<xfire@netrix.net> writes
>Does anyone know if the source code for the Windows Write program is available
>or the specs for the .WRI file structure? Is it public domain? Is there a
>phone, email or other where I could get this info from Microsoft?
The "Write" file format is documented in the standard Windows 3.1 API
help file, cunningly hidden under the "File Formats" topic...
Chris
--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
chris@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------
Re: Source Code?
Author: Jens Balchen Jr.
Date: Fri, 08 Mar 1996 11:39
Date: Fri, 08 Mar 1996 11:39
14 lines
1086 bytes
1086 bytes
xfire@netrix.net (Dennis Jarvis)'s cats typed: >Does anyone know if the source code for the Windows Write program is available >or the specs for the .WRI file structure? Is it public domain? Is there a >phone, email or other where I could get this info from Microsoft? The .WRI spesifications are in the Win SDK Help file that comes with VB. Jens (balchen@sn.no) -- Newbiehood is not a period of time, it's a way of life. http://www.sn.no/~balchen/ ftp://ftp.sn.no/user/balchen/
Re: Source Code?
Author: Ed McCreary
Date: Fri, 08 Mar 1996 15:04
Date: Fri, 08 Mar 1996 15:04
22 lines
1598 bytes
1598 bytes
Dennis Jarvis wrote: > > Does anyone know if the source code for the Windows Write program is available > or the specs for the .WRI file structure? Is it public domain? Is there a > phone, email or other where I could get this info from Microsoft? > > I need to build a new application and this simple WP would be a great place to > start without re-inventing the wheel. The file format is detailed in the online help that comes with your compiler. Look under "File Formats". The source code is not available, and from what I hear it's probably just as well. It's supposed to be a programmer's worst nightmare. But, the source to wordpad does ship with VC++ 4.0. You may want to look at that. -- __o ed mccreary "I drank what?" \<,_ compaq computers Socrates (_)/ (_) edm@twisto.compaq.com
Re: Source Code?
Author: Dale Smith
Date: Fri, 08 Mar 1996 16:35
Date: Fri, 08 Mar 1996 16:35
34 lines
2108 bytes
2108 bytes
In comp.os.ms-windows.apps.word-proc on Fri, 08 Mar 1996 11:39:32 GMT, balchen@sn.no (Jens Balchen Jr.) wrote: > xfire@netrix.net (Dennis Jarvis)'s cats typed: > >Does anyone know if the source code for the Windows Write program is available > >or the specs for the .WRI file structure? Is it public domain? Is there a > >phone, email or other where I could get this info from Microsoft? > The .WRI spesifications are in the Win SDK Help file that comes with VB. > Jens (balchen@sn.no) > -- > Newbiehood is not a period of time, it's a way of life. > http://www.sn.no/~balchen/ > ftp://ftp.sn.no/user/balchen/ I searched the Web last night for source code that will read/write the Write (sic) file format. I didn't find anything, but I will keep looking. ------- Dale Smith, Quantitative Analyst, ADAM Investment Services Any opinions expressed here are mine & not my employer's. This email may be used under the "fair use" part of the US copyright law and international treaties/conventions, including normal email and Usenet routing. Repost/resend as needed for any friendly, informal use. Any other use is strictly reserved by my employer. Don't put it on the Web without prior written permission. mailto: dtsadam@mindspring.com For files/info available via auto-respond email, send a message to dts-req@mindspring.com with HELP in the *subject* field.
Re: Source Code?
Author: Chris Marriott
Date: Fri, 08 Mar 1996 22:00
Date: Fri, 08 Mar 1996 22:00
16 lines
1601 bytes
1601 bytes
In article <31404C73.5E34@twisto.compaq.com>, Ed McCreary
<edm@twisto.compaq.com> writes
>The source code is not available, and from what I hear it's probably just
>as well. It's supposed to be a programmer's worst nightmare.
The story goes that Microsoft have LOST the Write source code, and
that's why 16-bit Write ships with Windows NT still - it's just about
the only 16-bit program on the whole system!
Chris
--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
chris@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------
Re: Source Code?
Author: charles stoyer
Date: Sat, 09 Mar 1996 02:32
Date: Sat, 09 Mar 1996 02:32
11 lines
1024 bytes
1024 bytes
Don't know about Write, but the VC++ 4.0 disk contains the source code for wordpad, which I am pretty sure can deal with WRI format. -- "He not busy being born is busy dying" (B. Dylan) Charles Stoyer, Interpex Limited, Box 839, Golden CO 80401 USA cstoyer@support.interpex.com, CompuServe: 75142.2356 www/interpex.com/interpex/
Re: Source Code?
Author: Mike Chapin
Date: Sat, 09 Mar 1996 12:33
Date: Sat, 09 Mar 1996 12:33
15 lines
1205 bytes
1205 bytes
In article <4ho68l$qhi@ruby.digisys.net>, xfire@netrix.net (Dennis Jarvis) wrote: >Does anyone know if the source code for the Windows Write program is available >or the specs for the .WRI file structure? Is it public domain? Is there a >phone, email or other where I could get this info from Microsoft? > >I need to build a new application and this simple WP would be a great place to >start without re-inventing the wheel. > >Thanks in advance for any help, email please. I doubt if you could get the source code but the Write file structure is in every Windows API help file I've seen under Write File Format.
Re: Source Code?
Author: Jon Machtynger
Date: Sat, 09 Mar 1996 14:15
Date: Sat, 09 Mar 1996 14:15
6 lines
948 bytes
948 bytes
Chris Marriott <chris@chrism.demon.co.uk> wrote: >The story goes that Microsoft have LOST the Write source code, and >that's why 16-bit Write ships with Windows NT still - it's just about >the only 16-bit program on the whole system! Was this using a beta version of SourceSafe?
Re: Source Code?
Author: David Brabant [SNI]
Date: Mon, 11 Mar 1996 10:43
Date: Mon, 11 Mar 1996 10:43
19 lines
1514 bytes
1514 bytes
>Does anyone know if the source code for the Windows Write program is >available or the specs for the .WRI file structure? Is it public domain? Is >there a phone, email or other where I could get this info from Microsoft? >I need to build a new application and this simple WP would be a great place >to start without re-inventing the wheel. The sources for Write are not available. The file format is documented in the Win SDK help giles under the "File formats" entry. If you use VC++ 2.x or VC++ 4.0, have a look at the WordPad sources. David -- David Brabant, | E-mail: David.Brabant@csl.sni.be Siemens Nixdorf (SNI), | CIS: 100337,1733 Centre Software de Liège, | X-400: C=BE;A=RTT;P=SCN;O=SNI;OU1=LGG1;OU2=S1 2, rue des Fories, | S=BRABANT;G=DAVID 4020 Liège (BELGIUM) | HTTP: www.sni.de www.csl.sni.be/~david
Re: Source Code?
Author: Karl Strauss
Date: Mon, 11 Mar 1996 20:54
Date: Mon, 11 Mar 1996 20:54
12 lines
1164 bytes
1164 bytes
Though the source is available for WORDPAD, the write like app that comes with 95 Mike Chapin wrote: > > In article <4ho68l$qhi@ruby.digisys.net>, > xfire@netrix.net (Dennis Jarvis) wrote: >>Does anyone know if the source code for the Windows Write >>program is available----------------------------------------------------- Karl Strauss UNBC Planning Student strak000@ugrad.unbc.edu http://res-041.res.unbc.edu
Re: Source Code?
Author: Helge Süß
Date: Tue, 12 Mar 1996 08:11
Date: Tue, 12 Mar 1996 08:11
19 lines
1522 bytes
1522 bytes
xfire@netrix.net (Dennis Jarvis) wrote:
>Does anyone know if the source code for the Windows Write program is available
>or the specs for the .WRI file structure? Is it public domain? Is
>there a phone, email or other where I could get this info from Microsoft?
>
>I need to build a new application and this simple WP would be a great
>place to start without re-inventing the wheel.
>
The Write File Format is documented in the Win31 API (SDK) help file
coming with most Windows development tools (nearly all but VB :-(
Helge ;-)=)
----------------------------------------------------------
(c) All Thoughts are Mine -- Genuine Genius
----------------------------------------------------------
helge@siemens.co.at ----- VIENNA -- AUSTRIA
----------------------------------------------------------
Help finding contents of current directory.
Author: Dale Hollon
Date: Fri, 15 Mar 1996 20:32
Date: Fri, 15 Mar 1996 20:32
9 lines
1003 bytes
1003 bytes
I am trying to get a listing of the files in the current directory. I realize I will have to use stat to determin wether it is a file or a directory. But how do I find out what's in the directory in the first place. Thanks in advance, Dale Hollon hollon@gate.net
Re: Help finding contents of current directory.
Author: Chris Marriott
Date: Fri, 15 Mar 1996 22:13
Date: Fri, 15 Mar 1996 22:13
21 lines
1758 bytes
1758 bytes
In article <3149D3CC.7D67@gate.net>, Dale Hollon <hollon@gate.net>
writes
>I am trying to get a listing of the files in the current directory. I realize I
>will have to use
>stat to determin wether it is a file or a directory. But how do I find out
>what's in the
>directory in the first place.
Win16: call "_dos_findfirst", "_dos_findnext"
Win32: call "FindFirstFile", "FindNextFile", "FindClose".
To get information about a file/directory you retrieve with either of
those methods, call "_stat".
Chris
--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
chris@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------
Re: Help finding contents of current directory.
Author: Tommi Ylikulju
Date: Fri, 15 Mar 1996 23:48
Date: Fri, 15 Mar 1996 23:48
16 lines
1705 bytes
1705 bytes
Dale Hollon (hollon@gate.net) wrote: : I am trying to get a listing of the files in the current directory. I realize I will have to use : stat to determin wether it is a file or a directory. But how do I find out what's in the : directory in the first place. I use _dos_findfirst and _dos_findnext functions to find out a listing of files in a specific directory. Check C documention for more info about those functions. -- ------------------------------------------------ | Tommi Ylikulju | | The Raahe Institute Of Computer Engineering | | E-mail: tylikul@ratol.ratol.fi | -------------------------------------------------
Re: Help finding contents of current directory.
Author: Gene Wagenbreth
Date: Sat, 16 Mar 1996 02:47
Date: Sat, 16 Mar 1996 02:47
6 lines
921 bytes
921 bytes
Try _dos_findfirst and related calls . Its documented in HELP for MSVC. -- ------------------------------------------------------------------- Gene Wagenbreth Programming for Dollars My opinions are mine, I think. -------------------------------------------------------------------
Re: Help finding contents of current directory.
Author: Lawrence Kirby
Date: Sat, 16 Mar 1996 15:20
Date: Sat, 16 Mar 1996 15:20
16 lines
1386 bytes
1386 bytes
In article <3149D3CC.7D67@gate.net> hollon@gate.net "Dale Hollon" writes: >I am trying to get a listing of the files in the current directory. I realize I > will have to use >stat to determin wether it is a file or a directory. But how do I find out > what's in the >directory in the first place. Please be a *lot* more careful in your newsgroup selection - it is rarely if ever appropriate to cross-post to 9 newsgroups. -- ----------------------------------------- Lawrence Kirby | fred@genesis.demon.co.uk Wilts, England | 70734.126@compuserve.com -----------------------------------------
Re: Help finding contents of current directory.
Author: Carl Verner Skou
Date: Sat, 16 Mar 1996 19:00
Date: Sat, 16 Mar 1996 19:00
16 lines
1302 bytes
1302 bytes
In article <3149D3CC.7D67@gate.net>, hollon@gate.net says... > >I am trying to get a listing of the files in the current directory. I realize >I will have to use stat to determin wether it is a file or a directory. But >how do I find out what's in the directory in the first place. In Windows 3.1 use: _dos_findfirst( "*.*", _A_NORMAL | _A_SUBDIR, &c_file ); and _dos_findnext();, examine the attribute c_file.attrib to find out if it is a file or directory. -- yours Carl Verner Skou *********************************************************** What's mind? Doesn't matter. What's matter? Don't mind.
Re: Help finding contents of current directory.
Author: Jens Balchen Jr.
Date: Sat, 16 Mar 1996 19:12
Date: Sat, 16 Mar 1996 19:12
14 lines
1136 bytes
1136 bytes
Dale Hollon <hollon@gate.net>'s cats typed: >I am trying to get a listing of the files in the current directory. I realize I will have to use >stat to determin wether it is a file or a directory. But how do I find out what's in the >directory in the first place. Look in the help file on the Dir$ command Jens (balchen@sn.no) -- Newbiehood is not a period of time, it's a way of life. http://www.sn.no/~balchen/ ftp://ftp.sn.no/user/balchen/
Re: Source Code?
Author: David L. Bergart
Date: Sun, 17 Mar 1996 15:03
Date: Sun, 17 Mar 1996 15:03
18 lines
1187 bytes
1187 bytes
"Helge Süß" <helge@siemens.co.at> wrote:
|The Write File Format is documented in the Win31 API (SDK) help file
|coming with most Windows development tools (nearly all but VB :-(
Does anyone know whether this documents the format of Write for Win30 or of
Write for Win31?
BTW, it comes with VB professional.
David
--
____D__a__v__i__d_____B__e__r__g__a__r__t___________________________________
bodafu@redactor.com
Re: Help finding contents of current directory.
Author: Bill Mageors
Date: Mon, 18 Mar 1996 16:31
Date: Mon, 18 Mar 1996 16:31
13 lines
1171 bytes
1171 bytes
In article <3149D3CC.7D67@gate.net>, hollon@gate.net says... >I am trying to get a listing of the files in the current directory. I realize I >will have to use >stat to determin wether it is a file or a directory. But how do I find out what Simply.. just drop to a dos prompt and use command cd\windows or what ever the name of the directory is then the "dir" command to list files and sub directorys or dir/p to pause every 24 lines. -- Bill Mageors 76003.3021@compuserve.com
Re: Help finding contents of current directory.
Author: Ian Musgrave
Date: Tue, 19 Mar 1996 07:13
Date: Tue, 19 Mar 1996 07:13
21 lines
1571 bytes
1571 bytes
G'Day All Dale Hollon <hollon@gate.net> writes: >From: Dale Hollon <hollon@gate.net> >Subject: Help finding contents of current directory. >Date: Fri, 15 Mar 1996 15:32:12 -0500 >I am trying to get a listing of the files in the current directory. I realize I will have to use >stat to determin wether it is a file or a directory. But how do I find out what's in the >directory in the first place. See my posting "Re:Req:How to get the current drive and directory" for a method of finding subdirectories and files in a given directory (as well as the current path). Cheers! Ian --------------------------------------------- Ian Musgrave Ph.D Ian.Musgrave@med.monash.edu.au Prince Henry's Institue of Medical Research PO Box 5152, Clayton 3168, Australia. Phone +61 3 550 4286 FAX +61 3 550 6125
Re: Help finding contents of current directory.
Author: Swaminathan N
Date: Tue, 19 Mar 1996 07:30
Date: Tue, 19 Mar 1996 07:30
6 lines
960 bytes
960 bytes
Do a `man' on dirent or opendir or readdir or closedir. I don't know their DOS equivalents. MS-Windows has the equivalents but I don't remember them. -- Swaminathan.N
Re: Help finding contents of current directory.
Author: Jens Balchen Jr.
Date: Tue, 19 Mar 1996 18:38
Date: Tue, 19 Mar 1996 18:38
19 lines
1354 bytes
1354 bytes
76003.3021@compuserve.com (Bill Mageors)'s cats typed: >>I am trying to get a listing of the files in the current directory. I realize I >>will have to use >>stat to determin wether it is a file or a directory. But how do I find out what >Simply.. just drop to a dos prompt and use command cd\windows or what ever >the name of the directory is then the "dir" command to list files and sub >directorys or dir/p to pause every 24 lines. *ahem* This is a programming group, remember? Jens (balchen@sn.no) -- Newbiehood is not a period of time, it's a way of life. http://www.sn.no/~balchen/ ftp://ftp.sn.no/user/balchen/
Re: Help finding contents of current directory.
Author: Simon Hosie
Date: Tue, 19 Mar 1996 19:32
Date: Tue, 19 Mar 1996 19:32
12 lines
1337 bytes
1337 bytes
Dale Hollon (hollon@gate.net) wrote: > I am trying to get a listing of the files in the current directory. I realize I will have to use > stat to determin wether it is a file or a directory. But how do I find out what's in the > directory in the first place. Tommi Ylikulju: > I use _dos_findfirst and _dos_findnext functions to find out a listing of > files in a specific directory. Check C documention for more info about > those functions. Umm, they're very DOSish functions.. are there not UNIXish functions that do the same thing but are also supported by DOS compilers?
Re: Help finding contents of current directory.
Author: David Timmins
Date: Wed, 20 Mar 1996 13:26
Date: Wed, 20 Mar 1996 13:26
23 lines
1489 bytes
1489 bytes
In article <4imv0g$s92@hasle.sn.no>, balchen@sn.no wrote: >76003.3021@compuserve.com (Bill Mageors)'s cats typed: > >>>I am trying to get a listing of the files in the current directory. I realize > I >>>will have to use >>>stat to determin wether it is a file or a directory. But how do I find out > what > >>Simply.. just drop to a dos prompt and use command cd\windows or what ever >>the name of the directory is then the "dir" command to list files and sub >>directorys or dir/p to pause every 24 lines. > >*ahem* >This is a programming group, remember? > *ahem* Give it a rest "Jens". It's just a simple piece of advice taking up no more bandwith than your reply. We don't need a newsgroup police here.
Re: Help finding contents of current directory.
Author: Peter Azzopardi
Date: Thu, 21 Mar 1996 04:12
Date: Thu, 21 Mar 1996 04:12
29 lines
1812 bytes
1812 bytes
I can't remember exactly what you do, but under Borland C++ you use the dir.h header file and the findfirst() and findnext() functions to read the selected entries in a directory. timmins@jagunet.com (David Timmins) wrote: >In article <4imv0g$s92@hasle.sn.no>, balchen@sn.no wrote: >>76003.3021@compuserve.com (Bill Mageors)'s cats typed: >> >>>>I am trying to get a listing of the files in the current directory. I realize >> I >>>>will have to use >>>>stat to determin wether it is a file or a directory. But how do I find out >> what >> >>>Simply.. just drop to a dos prompt and use command cd\windows or what ever >>>the name of the directory is then the "dir" command to list files and sub >>>directorys or dir/p to pause every 24 lines. >> >>*ahem* >>This is a programming group, remember? >> >*ahem* > Give it a rest "Jens". It's just a simple piece of advice taking up no more >bandwith than your reply. >We don't need a newsgroup police here.
Re: Help finding contents of current directory.
Author: Jens Balchen Jr.
Date: Thu, 21 Mar 1996 22:55
Date: Thu, 21 Mar 1996 22:55
23 lines
1422 bytes
1422 bytes
timmins@jagunet.com (David Timmins)'s cats typed: >>76003.3021@compuserve.com (Bill Mageors)'s cats typed: First of all, I have to apologize to Bill, who obviously read this in another newsgroup. > Give it a rest "Jens" Why the "", "David"? >We don't need a newsgroup police here. I'm not acting as one - it was a simple reminder that when you discuss programming, you discuss programming. As I've noticed from the header, Bill probably read this in another newsgroup, so I take it back. Jens (balchen@sn.no) -- Newbiehood is not a period of time, it's a way of life. http://www.sn.no/~balchen/ ftp://ftp.sn.no/user/balchen/
Re: Help finding contents of current directory.
Author: Tom Wheeley
Date: Fri, 22 Mar 1996 01:53
Date: Fri, 22 Mar 1996 01:53
34 lines
2153 bytes
2153 bytes
In article <4in24g$ota@airdmhor.gen.nz>
gumboot@airdmhor.gen.nz "Simon Hosie" writes:
> Dale Hollon (hollon@gate.net) wrote:
> > I am trying to get a listing of the files in the current directory. I realize
> I will have to use
> > stat to determin wether it is a file or a directory. But how do I find out
> what's in the
> > directory in the first place.
>
> Tommi Ylikulju:
> > I use _dos_findfirst and _dos_findnext functions to find out a listing of
> > files in a specific directory. Check C documention for more info about
> > those functions.
>
> Umm, they're very DOSish functions.. are there not UNIXish functions that
> do the same thing but are also supported by DOS compilers?
opendir, readdir and closedir
Similar to Findfirst and findnext under dos.
I doubt that you can use a construct directly accross unix/dos; you'll
probably need some #ifdefs :|
Maybe DJGPP supports the unix functions as is? I doubt it, seeing as it is
an OS call. We can't expect DOS to be POSIX now, can we :)
.splitbung
--
* TQ 1.0 * The 'Just So Quotes'.
Artificial Intelligence: the art of making computers that behave like the
ones in movies.
-- Bill Bulko
Re: Help finding contents of current directory.
Author: Eric Fletcher
Date: Sun, 24 Mar 1996 06:15
Date: Sun, 24 Mar 1996 06:15
3 lines
976 bytes
976 bytes
I have a WordBasic macro that prepares a Word table listing all the files in a given pathe with a dialog to define a filter. Email me if you are interested. /Eric
Re: Source Code?
Author: Daniel D. Roscigno
Date: Sun, 24 Mar 1996 16:57
Date: Sun, 24 Mar 1996 16:57
4 lines
714 bytes
714 bytes
I could be wrong, but isn't the source for WordPad included with VC++4.0? I think it is included somewhere in the samples tree. Dan
Re: Source Code?
Author: Chris Marriott
Date: Sun, 24 Mar 1996 21:13
Date: Sun, 24 Mar 1996 21:13
16 lines
1517 bytes
1517 bytes
In article <4j3ut8$dhp@sand.cis.ufl.edu>, "Daniel D. Roscigno"
<ddr@beach.cis.ufl.edu> writes
>I could be wrong, but isn't the source for WordPad included with VC++4.0?
>I think it is included somewhere in the samples tree.
You're right. WordPad is one of the sample programs in VC++ 2.2 and
later.
Chris
--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
chris@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------
Re: Help finding contents of current directory.
Author: Keith Burton
Date: Sat, 06 Apr 1996 07:43
Date: Sat, 06 Apr 1996 07:43
43 lines
2253 bytes
2253 bytes
Greetings, I've been using the Win32 "FindFirstFile" and "FindNextFile" functions without any problems. Keith Burton Tom Wheeley <tomw@tsys.demon.co.uk> wrote: >In article <4in24g$ota@airdmhor.gen.nz> > gumboot@airdmhor.gen.nz "Simon Hosie" writes: > >> Dale Hollon (hollon@gate.net) wrote: >> > I am trying to get a listing of the files in the current directory. I realize >> I will have to use >> > stat to determin wether it is a file or a directory. But how do I find out >> what's in the >> > directory in the first place. >> >> Tommi Ylikulju: >> > I use _dos_findfirst and _dos_findnext functions to find out a listing of >> > files in a specific directory. Check C documention for more info about >> > those functions. >> >> Umm, they're very DOSish functions.. are there not UNIXish functions that >> do the same thing but are also supported by DOS compilers? > >opendir, readdir and closedir > >Similar to Findfirst and findnext under dos. > >I doubt that you can use a construct directly accross unix/dos; you'll >probably need some #ifdefs :| > >Maybe DJGPP supports the unix functions as is? I doubt it, seeing as it is >an OS call. We can't expect DOS to be POSIX now, can we :) > >.splitbung >-- >* TQ 1.0 * The 'Just So Quotes'. >Artificial Intelligence: the art of making computers that behave like the >ones in movies. > -- Bill Bulko
Re: Help finding contents of current directory.
Author: Chris Marriott
Date: Sun, 07 Apr 1996 09:28
Date: Sun, 07 Apr 1996 09:28
15 lines
1612 bytes
1612 bytes
In article <DpFJ8x.DCn@iglou.com>, Keith Burton <kbc@iglou.com> writes
>I've been using the Win32 "FindFirstFile" and "FindNextFile" functions
>without any problems.
I hope you've also been using "FindClose"! You'll have memory leaks
otherwise.
Chris
--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
chris@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads