nick@drune.ATT.COM (SilvaNT) (07/02/87)
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.