Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!usc!hacgate!luna.dpl.scg.hac.com!djnowak From: djnowak@luna.dpl.scg.hac.com (David Nowak) Newsgroups: comp.sys.mac.programmer Subject: MPW Pascal 3.0 GetGrayRgn INLINE Ques. Message-ID: <4313@hacgate.scg.hac.com> Date: 10 Jul 89 01:44:28 GMT Sender: news@hacgate.scg.hac.com Reply-To: djnowak@luna.dpl.scg.hac.com (David Nowak) Organization: Hughes Aircraft Co., El Segundo, CA Lines: 53 I have been using MPW Pascal 3.0 for some time now. Recently I defined a unit that used the {PInterface}Windows.p file. I used the: {$IFC UNDEFINED UsingIncludes} {$SETC UsingIncludes := 0} {$ENDC} {$IFC NOT UsingIncludes} UNIT Globals; INTERFACE {$ENDC} {$IFC UNDEFINED UsingGlobals} {$SETC UsingGlobals := 1} {$I+} . . . {$IFC UNDEFINED UsingWindows} {$I $$Shell(PInterfaces)Windows.p} {$ENDC} {$SETC UsingIncludes := GlobalsIncludes} prototype header to create a symbol table resource fork in my global unit file full which then could be used in other program segments that I am writing. Upon compilation of this new unit I recieved an error message: ### PASCAL - Error 177 Unsatisfied forward declaration for Function GETGRAYRGN # ? It seems that the Windows.p that the GetGrayRgn function has no corresponding INLINE address declaration: FUNCTION GetGrayRgn: RgnHandle; Does anyone know this value so I can proceed with compiling my Globals unit? And why did Apple leave out this address declaration? Thanks in advance. Dave Nowak djnowak@luna.dpl.scg.hac.com