| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: PFILEFINDBUF3 |
PC> PFILEFINDBUF3 pffb = malloc( FF_BUFFSIZE );
PC> PFILEFINDBUF3 pff;
Try instead PBYTE pfb;
PC> pff = pffb;
pfb = (PBYTE)pffb;
Also: pffb = (PFILEFINDBUF3)pfb;
Think carefully about what happens when you increment pff vs.
incrementing pfb. In fact, a little test program containing this might
help clear it up:
PBYTE pfb = NULL;
PFILEFINDBUF pff = NULL;
printf("\npfb + 1 = %p\npff + 1 = %p\n",++pfb,++pff);
--- XHEd-OS/2 1.22
* Origin: The Pit (1:380/16)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: 380/25 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™.