Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PPC -> Intel issues.



I have read every scrap of information I could find on the migration of code from a PowerPC Mac to an Intel Mac.

Endian issues have been resolved etc...  I believe I have done everything that needs to be done, but my Carbon DLOG resource based dialogs crash intermittently.

The documentation says that 'some deprecated functions have byte-swapping issues' but that is hardly conclusive enough for me to be able to state this as being the problem in my case.

Sometimes the dialog comes up many times before it crashes, sometimes it crashes the first time I try to display it (it is a 'Login' dialog btw). Also it crashes in a seemingly different place each time, although some of the more common API functions it crashes in are:

SetDialogItemText
SetControlValue
ShowWindow
ModalDialog
DisposeDialog

The stack traces for each of the crashes, say for SetDialogItemText, is different in each case sometimes.

Is there any more definitive information on what deprecated APIs NEED to be updated during an Intel port of PPC code?

I realize it is recommended that DLOG resources be upgraded to NIB files, but nowhere does it say that this is NECESSARY for Intel. Is it?

I have some Carbon Nib GUIs and Cocoa Nib GUIs that all work fine without crashing, it is only the DLOG resources that crash.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.