Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!rex!uflorida!gatech!udel!haven!cs.wvu.wvnet.edu!jlf From: jlf@cs.wvu.wvnet.edu (Jack L Forester) Newsgroups: comp.sys.atari.st.tech Subject: Questions for a TSR I'm writing Keywords: resource, Ptermres, appl_init Message-ID: <1175@h.cs.wvu.wvnet.edu> Date: 2 Jan 91 18:25:34 GMT Sender: news@cs.wvu.wvnet.edu Lines: 33 Here's a few questions for the GEM gurus... I'm writing a TSR that is going to use GEM and a resource that will be compiled as part of the program. It is going to be activated by exceptions. Question 1... Since I won't be using rsrc_load() to load the resource, how do I tell GEM to initialize my resource. I've never used resources in this manner before. Essentially, how do I use my resource? I'm using Laser C Ver 2.? and RCP 3.0. I have created the resource and had RCP create the .C and .H files for me. The only thing in the .C file is a large unsigned char array. Question 2... How do I calculate the number of bytes that the program requires to pass to the Ptermres() function. Last question... I assume that even though this is going to be a TSR, I still need to make a call to appl_init(). But what about appl_exit()? I have a feeling that I'll never use this function. Thanks in advance! :-) -- Jack Forester, Jr. * Disclaimer: My opinions are mine and mine * jlf@a.cs.wvu.wvnet.edu * alone! I don't share my opinions * West Virginia University * with anyone! :-) * Dept. of Computer Science * *