Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > OOP Powerplant for Mac > LDialogBox DoDi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 478 of 482
Post > Topic >>

LDialogBox DoDialog cra****ng when runnimg in X.5 Leopard / Rosetta, someone experiencing similar behavior?

by r.welz@[EMAIL PROTECTED] (Robert Welz) Feb 8, 2008 at 04:02 PM

Hello!

I have some Code compiled under 10.4 / PPC with MW's CodeWarrior.
However when running under 10.5 in PPC Mode I am experiencing repeatable
crashes in LDialogBox 's DoDialog().


Is this a known bug in PP or is it definately not PP 

Boolean
CNewJobWindow::DoShowFailure ()
{
        Select ();
        BringToForeground ();

        StopProgress ();

        MessageT        theResult;

        StDialogHandler theDialogHandler (XRayClientApp::MapResID
(rPPob_FailureDialog, ResType_PPob),LCommander::GetTopCommander ());

        LDialogBox*     theDialog =
(LDialogBox*)theDialogHandler.GetDialog ();
        if (theDialog)
        {
                LStr255 theMessage;
                theDialog->GetDescriptorForPaneID (kAlert_Text,
theMessage);
                theMessage.Replace (theMessage.Find ("\p^0"), 2,
mDescription);
                theDialog->SetDescriptorForPaneID (kAlert_Text,
theMessage);
                theDialog->Show ();




// This code here crashes deep inside PowerPlant for unknown reason, but
only on Dual 2 Core CPUs:

    while (true)
    {
        //MessageT      theMessage = theDialogHandler.DoDialog ();
        theResult = theDialogHandler.DoDialog ();
        if (theResult == msg_OK)
        return true;
        else if (theResult == msg_Cancel)
        return false;
        }
    }

return false;
}
 




 1 Posts in Topic:
LDialogBox DoDialog crashing when runnimg in X.5 Leopard / Roset
r.welz@[EMAIL PROTECTED]   2008-02-08 16:02:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 17:54:17 CDT 2008.