Xref: news-dnh.mv.net comp.os.msdos.djgpp:4327 From: jstev AT gladstone DOT uoregon DOT edu (Josh Stevens) Newsgroups: comp.os.msdos.djgpp Subject: Re: Findfirst works in beta4 Date: Fri, 12 Jan 1996 00:08:45 GMT Organization: University of Oregon Lines: 19 Message-ID: <4d48ip$58s@pith.uoregon.edu> References: <4d2i3v$6jr AT pith DOT uoregon DOT edu> <30f531d2 DOT sandmann AT clio DOT rice DOT edu> NNTP-Posting-Host: cisco-ts5-line10.uoregon.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Charles Sandmann wrote: >> v2beta4. When I call findfirst() and it finds something, it always cuts >> off the first two letters of the resulting name. >The structure for V2 is packed, so the name is not aligned on a long >boundary like it was in V1. If you use a V1.x header and a V2 library you >would see this problem. Check your .h files, you have an old one someplace. >Since the size is different, you may also see other corruption problems. But I checked the dates on the archived files at DJ's site, and the ones from the beta4 archive are definitely the same ones that I have. There is no other copy of dir.h anywhere else on my system. All the h files I'm using are straight from the beta4 archives. Do you have any other suggestions? Thanks. -Josh