TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Doug Nazar
date: 1995-12-13 14:12:22
subject: PFILEFINDBUF3

Hello Phil!

Tuesday December 12 1995 17:50, Phil Crown wrote to All:

PC> Can anyone tell me why this does not work?  It will print the first file
PC> found, but nothing else.  The problems seem to be in getting a pointer to
PC> the next oNextEntryOffset;

PC>         pff += pff->oNextEntryOffset;   // should point to next entry?

           pff = ((char *)pff + pff->oNextEntryOffset);

Try the above line. The problem is oNextEntryOffset=0x32 but you're
actually adding (0x32 * sizeof(FILEFINDBUF3)) to pff. Really throws off
your pointer .

Doug

--- GoldED/2 2.50 UNREG
* Origin: Realm of the Dragons - `Where thy mind hath no limits' (1:250/516)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809
@PATH: 250/516 101 99 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.