Results 1 to 10 of 31

Thread: Problem with FreePascal + MacOS

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hmm, a bad way, why?
    Before calling Halt() I release all allocated memory and resources, and destroy the Carbon window, well, maybe there is still something left to release, and that is causing the problem.

  2. #2
    Quote Originally Posted by Relfos
    Hmm, a bad way, why?
    Because of "maybe there is still something left to release", but halt terminate your application immediately.

  3. #3
    I think, traditionally, Halt is used to preemptively terminate a program. It should of course work okay, which could indicate a bug in the termination code. But usually would use just exiting the normal "PASCALMAIN" procedure as usual
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •