|
|
FB II COMPILERCreate a faceless background applicationA background app is an app that has the "background only" bit
in its SIZE resource set. It can't use any of the Toolbox initialization
calls except InitGraf. It has to respond to the 'quit' Apple event
(otherwise there is no way to get rid of it or to restart the
machine). Mars Thanks for your help. I tried using the mini-runtime, using CALL
INITGRAF(REGISTER(A5)-4) and setting the SIZE flag background
only to true. It's crashing every time. I'm not sure what I'm
doing wrong. Aaron I had to change the initializeApplication routine in the FB mini-app demo to:
LOCAL FN initializeApplication 'do this when the app starts up
And as long as you don't try to do anything fancy you will be
OK. I can send you a simple shell if you still get stuck. Jamin When launching it, I'm getting a bus error with MacsBug telling
me _InvalMenuBar+00128. In theory,the Menu manager shouldn't be
initialized, but I see how it's crashing because I'm trying to
call toolbox routines that aren't there. Could I see your sample
shell? Thanks. Aaron I don't think the miniruntime sets up the QD record for you. I'd do it like this:
DIM myQD.QDGlobals Mars
|