POV-Ray : Newsgroups : povray.programming : Possible problem in Mac source : Re: Possible problem in Mac source Server Time
28 Jul 2024 18:16:01 EDT (-0400)
  Re: Possible problem in Mac source  
From: Chris Huff
Date: 13 Nov 1999 18:28:56
Message: <382DF4E3.1A8FC9@compuserve.com>
More data: The call to the function SetWTitle(aWindow, windTitle) around
line 439 is causing the crash, the crash does not occur if this call is
commented out. If I call SysBeep before it, the beep is heard, if it is
after it the beep is not heard.
Perhaps a problem between the code and the resources?
Here is the code in that area:

 if (!*anError)
 {
  // now its OK to call CloseWindow later..
  p2wWPtr->p2wOpenedOK = true;

  SetPort(aWindow);

  /* Set its title to what the user passed in, if non-null */
  /* Do this only if getting from resources - already done (above)
otherwise */
  if (windID > 0)
   if (windTitle)       // not a NULL pointer?
    if (*windTitle)      // not an empty string?
     SetWTitle(aWindow, windTitle); // then do it!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.