Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!ucbvax!ANDREW.CMU.EDU!rs4u# From: rs4u#@ANDREW.CMU.EDU (Richard Siegel) Newsgroups: comp.sys.mac Subject: Re: FKEY's from Aztec C Message-ID: Date: Thu, 4-Dec-86 10:57:22 EST Article-I.D.: andrew.MS.V3.18.rs4u.80020b5f.tarentum.ibm032.4732.1 Posted: Thu Dec 4 10:57:22 1986 Date-Received: Fri, 5-Dec-86 02:39:42 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 14 I'm not familiar with Aztec C or writing FKEYs in C, but I have done some in Pascal, and using the QuickDraw globals is very dangerous. Could you tell me what globals you're trying to use? Generally, there are procedures to return QD globals -- things like GetWMgrPort(gptr), which returns in gptr a pointer to the port the window manager's using -- the screen. Then you can use gptr^.portBits.baseAddr, which is a pointer to the Window Manager Port's bitmap... Hope this helps out... --Rich