Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!spot.Colorado.EDU!hartkopf From: hartkopf@spot.Colorado.EDU (Jeff Hartkopf) Newsgroups: comp.sys.apple2 Subject: Code resources Keywords: code resources, IIGS, toolbox programming Message-ID: <1991Mar17.204438.22813@colorado.edu> Date: 17 Mar 91 20:44:38 GMT Sender: news@colorado.edu (The Daily Planet) Organization: University of Colorado, Boulder Lines: 19 Nntp-Posting-Host: spot.colorado.edu I have a few questions about generating and using code resources on the IIGS. 1) How do I generate a code resource of, say, some C code? Do I have to use the tools sold by APDA, or can it be done with Genesys (or some other way)? 2) Once I have the code resource, how do I load it from my program, and then call it? Can it be called from C? If not, what assembly code do I need to call it? Is it possible to create a code resource with several functions that can be called from C, or do code resources only have one entry point? Thanks much for any help. Jeff Hartkopf University of Colorado at Boulder Internet: hartkopf@spot.colorado.edu