Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!mit-amt!arwall From: arwall@mit-amt (Anders Wallgren) Newsgroups: comp.sys.mac.programmer Subject: GetNewCWindow prototype wierdness... Message-ID: <3808@mit-amt> Date: 29 May 89 16:47:01 GMT Reply-To: arwall@media-lab.media.mit.edu (Anders Wallgren) Organization: MIT Media Lab, Cambridge MA Lines: 18 Why is it that on page 207 of IM volume V, GetNewCWindow is defined as: FUNCTION GetNewCWindow (windowID: INTEGER; wStorage: Ptr; behind: CWindowPtr) : CWindowPtr; whereas in the MPW 3.0 CIncludes file it is defined as: pascal WindowPtr GetNewCWindow(short windowID,Ptr wStorage,WindowPtr behind) = 0xAA46; that is, it returns a WindowPtr, not a CWindowPtr??? (it is declared similarly in the PInterfaces file...) anders