[futurebasic] DCODs & Mini-Runtime

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

From: "Pete" <furbies@...>
Date: Thu, 20 May 1999 20:46:22 +1000
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 cursora

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...

(I'm trying to write code for a dialog)


Check out: http://www.hinet.net.au/~furbies/

In the words of a 'famous' Vulcan "Long Live And Prosper"