Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!sri-spam!mordor!lll-tis!ptsfa!ihnp4!drutx!drune!nick From: nick@drune.ATT.COM (SilvaNT) Newsgroups: comp.sys.apple Subject: Responses APW c Message-ID: <731@drune.ATT.COM> Date: Thu, 2-Jul-87 09:00:37 EDT Article-I.D.: drune.731 Posted: Thu Jul 2 09:00:37 1987 Date-Received: Sat, 4-Jul-87 07:59:03 EDT Distribution: comp Organization: AT&T, Denver, CO Lines: 35 Keywords: answers,solutions These are the responses I've gotton so far, unfortunatley none were of any help in my problem, but thanks for responding. >In fairness to Apple it should be stated that this is a Beta version of APW >C. Please correct me if I'm wrong. >Rick Fincher >You might send your comments to some >APDA people so they can route it to the folks at Apple that designed the >package. Take heart! Borland's Turbo C wasn't really right the first release >either..... >Steve Smythe Did I find an answer? Yes I did. It turned out to be *incorrect* documentation. Again, the call for NewHandle goes: x = NewHandle(a,b,c,d) where x = a handle, a = # of pages to allocate (a long int not int as stated) b = memoryid from mmstartup() c = attributes - int d = Address of where to start (pointer) the problems results if an int is used rather than a long int (the compiler didn't like that at all). Also, the call doesn't like a value for variable d (you actually have to decalare a variable and then move a value into it before using it). Once that was taken care of, it works. Where did I find this inforation? In a Mac C book. Nick S.