Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!gatech!gt-stratus!gitpyr!lbg From: lbg@gitpyr.UUCP (Lee B Grey) Newsgroups: net.micro.amiga Subject: Pointers and AllocMem with Aztec Message-ID: <1868@gitpyr.UUCP> Date: Tue, 10-Jun-86 20:52:06 EDT Article-I.D.: gitpyr.1868 Posted: Tue Jun 10 20:52:06 1986 Date-Received: Sat, 14-Jun-86 06:02:50 EDT Organization: Georgia Institute of Technology Lines: 24 Summary: HELP!!! I have spent all day trying to get AllocMem to work with my Aztec compiler. I refuse to break down and use 32-bit integers. So what am I supposed to do?? I have tried the code in the RKM, which does not work. I have tried declaring AllocMem() as: extern APTR long APTR extern APTR * long * APTR * struct APTR * char void struct APTR char * void * None of them work. They all return a NULL pointer! BTW, I am not as dumb as this looks. I knew that void would not work. But take a look at Aztec's list of Amiga functions AND at the functions.h file in the include directory -- they both list AllocMem as a void of all things!! Bottom line: If anyone can tell me how to AllocMem a structure (I am trying for FileInfoBlock), without using the 32-bit compiler option and 32-bit linker library, PLEASE let me know! Please reply through mail, as I am too busy banging my head against the wall to read news with any regularity. Thanks, dudes and dudettes! Lee