Menu

#1 main() callsEventAvail() before initting the toolbox

closed-fixed
None
5
2000-11-18
2000-11-18
No

main() calls EventAvail and GetDateTime() before initting the Toolbox, which is bad (and causes Spotlight to barf on the app).

The fix is to move initAppl(); to be the first thing in main().

Discussion

  • John Bafford

    John Bafford - 2000-11-18

    Is there any documentation that states that this is bad? I skimmed through IM:MTE, and saw nothing requiring the toolbox to be inited. I don't doubt that the toolbox should be inited first, but I've never had a problem, and haven't seen anything that indicates this.

     
  • John Bafford

    John Bafford - 2000-11-18
    • assigned_to: nobody --> dshadow
    • summary: main() calls EventAvail() before initting the toolbox --> main() callsEventAvail() before initting the toolbox
     
  • John Bafford

    John Bafford - 2000-11-18
    • status: open --> closed-fixed
     

Log in to post a comment.