Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rosie!sstreep From: sstreep@next.com (Sam Streeper) Newsgroups: comp.sys.atari.st.tech Subject: Re: DESKTOP ACC. Message-ID: <243@rosie.NeXT.COM> Date: 2 Feb 91 04:43:22 GMT References: <1991Jan22.133505.7640@umiami.ir.miami.edu> <18420006@hpsad.HP.COM> <1991Jan30.144626.16658@newcastle.ac.uk> Sender: news@NeXT.COM Organization: Next Computer, Inc. Lines: 28 Nntp-Posting-Host: elvis.next.com In article <1991Jan30.144626.16658@newcastle.ac.uk> D.M.Johnson@newcastle.ac.uk (Dave Johnson) writes: > >Hi, I am interested in writing a few D.A.s but I need to know a few things. > >I want to include resource files in the program, but as the prgoram is a D.A. >it should be in the code. How do I find the objects in the resource file >if I have just forced it to be included with the compiled code. > > > Any tips on writing D.A.s is very useful as I have seen no documention >on how to write them. Hi Dave, I posted source to the atari sources group awhile ago called DUBL_VIS that is a disk formatter that runs as a program or an accessory. You should be able to get it from an archive server (although I haven't looked for it myself...) That program also has its resource built into the source code, so it can show you how to use this trick. What compiler are you using? and what program are you using to get your resource into source code form? Many compilers require a different startup routine linked in to compile a resource file. Accessory startup code for the Sozobon compiler was posted here about a month ago, its called SOZOINIT. Mail me if this is still totally confusing... -sam (sam_s@NeXT.com)