| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | PFILEFINDBUF3 |
Quoting (part of) a msg from you of 12 Dec 1995:
Phil,
I am not very good at the subject, but at last I managed to get it working
for mij DOWNSORT program.
PC> PFILEFINDBUF3 pff;
PC> pff += pff->oNextEntryOffset; // should point to next
ppf is a pointer to a structure, so ppf+1 points to the next structure
(in an array). But oNextEntryOffset is an offset expressed in bytes!
I use an intermediate (char-)pointer to calculate the new value of pff.
Something like:
char *tmp;
tmp += pff->oNextEntryOffset;
ppf = (PFILEFINDBUF3)tmp;
Maybe it can be done more elegantly.
Cheers, Rob
--- timEd/2 1.10+
* Origin: PC-SquareRoot of Downsort (2:280/804.1098)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: 280/804 801 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™.