From: | Oliver Roberts |
Date: | 13 Jul 2000 at 10:44:18 |
Subject: | Re: ExamineFH() Problems |
On 13-Jul-00 01:19:23 BST, radiat-r aka Sascha Ploss wrote:
> Hi Nick,
>> I understand that the FileInfoBlock structure has to be longword aligned
>> and I think this is where my problem lies; however - i don't know how to
> file_info = (struct FileInfoBlock *)
> AllocMem(sizeof(struct FileInfoBlock),MEMF_CLEAR);
> if (file_info) {...} // you MUST check for success here!
As I said, AllocDosObject(DOS_FIB,NULL) should really be used instead of
AllocMem() in this case.
------------------------------------------------------------------------
Wish you had something rad to add to your email?
We do at www.supersig.com.
http://click.egroups.com/1/6810/1/_/451227/_/963484039/
------------------------------------------------------------------------