nick@drune.UUCP (06/30/87)
HELP!!!
I've been working on a little APW C program and have run into a little snag.
I'm trying to get the memory manager to give me a new handle but so far
I can't get it to work. I think I'm doing things right, but may not
understand everything yet. Here's the program segment:
handle toolsZeroPage;
int myMemoryID;
main()
{
myMemoryID = MMStartup();
toolsZeroPage = Newhandle( 4*256, /* allocate 4 pages */
myMemoryID, /* memory blocks user ID */
$0xC000, /* Attributes */
ptr(0)); /* Start in bank zero */
etc, etc,.
}
So anyway, I keep getting an error in the Newhandle function. It is suppose to
return a handle , for which I have made room. I think my problem is in the
last paramter - the pointer. What does new handle expect here??? Any help
would be appreciated.
Nick Silva