Xref: utzoo alt.msdos.programmer:1193 comp.sys.ibm.pc:44053 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!psuvax1!psuvm!cmh117 From: CMH117@psuvm.psu.edu (Charles Hannum) Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc Subject: Re: new MSC 5.1 bug? Message-ID: <90040.115357CMH117@PSUVM.BITNET> Date: 9 Feb 90 16:53:57 GMT References: <1537@husc6.harvard.edu> Organization: Penn State University Lines: 22 In article <1537@husc6.harvard.edu>, ddl@husc6.harvard.edu (Dan Lanciani) says: > > printf("p1 = %x, p2 = %x\n", p1, p2); Your problem may be that you are printing out the pointers as short (16-bit) integers. Try: printf("p1 = %p, p2 = %p\n", p1, p2); %p is the Turbo C mnemonic for "pointer". If MSC doesn't support this, use: printf("p1 = %lx, p2 = %lx\n", p1, p2); Note that I am assuming that you are using a large data model. If not, I don't have a clue. Virtually, - Charles Martin Hannum II "Klein bottle for sale ... inquire within." (That's Charles to you!) "To life immortal!" cmh117@psuvm.{bitnet,psu.edu} "No noozzzz izzz netzzzsnoozzzzz..." c9h@psuecl.{bitnet,psu.edu} "Mem'ry, all alone in the moonlight ..."