[futurebasic] Re: [FB] DCODs & Mini-Runtime

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: Mel & Carol Patrick <mel@...>
Date: Thu, 20 May 1999 08:34:12 -0700
>Does anyone know if I would have to to the following in a DCOD
>
>  CALL INITGRAF(REGISTER(A5)-4)                   'initialize QuickDraw
>  CALL INITFONTS                                  'initialize font manager
>  CALL INITWINDOWS                                'initialize window manager
>  CALL INITMENUS                                  'initialize menu manager
>  CALL TEINIT                                     'initialize text edit mgr
>  CALL INITDIALOGS(0)                             'initialize Dialog manager
>  CALL INITCURSOR                                 'standard arrow cursor
>AFAIK DCODs use the mini-runtime so I'm wondering if a crash I'm having
>could be related to not having the above code in my DCOD...

Nope you don't need them in a DCOD. I converted a DA into a miniruntime and
it has a DCOD that does all sorts of stuff. That INIT code has to be in the
main part of program, executed once at start up. Thats it.

Actually I don't think I even had that many INIT's in my miniruntime.


Mel Patrick
mel@...