> Any suggestions on how to resolve this would be appreciated.
> > Any suggestions on how to resolve this would be appreciated.
>
> InterfaceLib-based apps will only run on MacOS 9 - is that where you're
> testing this? If not, then you've got to switch over to CarbonLib, and
> that's beyond the scope of a quick reply. :-)
Thanks for your response :)
I was running it in the CW9 debugger on OS X. Since it is a PPC app I
guess I can't expect anything to work that way (sorry, seems silly to
have tried it now..) When I run it under OS 9 I get a fatal error on
startup stating "The application has unexpectedly quit because an
error of type 12 occurred."
It's not a Carbon app and doesn't need to be, I only need it to run
under OS 9 natively, but I have to build it using CW 9 on OS X.
Sounds like what I *should* be doing is taking my OS 9 debug build and
running under the debugger on OS 9. Should this work? Running an OS 9
app built using CW 9 under the CW 5 debugger?
Brad Oliver - 06 Dec 2003 04:08 GMT
> Sounds like what I *should* be doing is taking my OS 9 debug build and
> running under the debugger on OS 9. Should this work? Running an OS 9
> app built using CW 9 under the CW 5 debugger?
I haven't debugged an InterfaceLib-based app in a long time, and
definitely not with CodeWarrior 9. However, that sounds like what you
should be doing. As I understand it, there's some special build of the
IDE that allows you to debug CodeWarrior 9 apps on OS 9, tucked away in
one of the Extras folders or CDs? Maybe Ron will chime in here with more
info.
--
Brad Oliver
bradman@pobox.com.AM_SPAY
Sean McBride - 15 Dec 2003 20:41 GMT
> I was running it in the CW9 debugger on OS X. Since it is a PPC app I
> guess I can't expect anything to work that way (sorry, seems silly to
> have tried it now..) When I run it under OS 9 I get a fatal error on
> startup stating "The application has unexpectedly quit because an
> error of type 12 occurred."
Do you have Macsbug installed? If not, and you call Debugger() or
DebugStr() you'll get err 12 IIRC.
> It's not a Carbon app and doesn't need to be, I only need it to run
> under OS 9 natively, but I have to build it using CW 9 on OS X.
> Sounds like what I *should* be doing is taking my OS 9 debug build and
> running under the debugger on OS 9. Should this work?
With CW 8 at least, you must run the IDE in Classic (or OS 9) to debug
Classic apps.
> Running an OS 9
> app built using CW 9 under the CW 5 debugger?
I doubt it.