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