I've just taken a look at a member of staff's system
to help out on a problem - I've been doing Mac development
for a good many years but I'm a bit stumped by this:
System is OS9.2/OSX10.2.8/CW6 Academic
The chap has got an old CW4 project he's opened in CW6 - it will
compile, link and run OK for OS9 and will compile and link OK for
OSX but will NOT run. All the settings look fine.
I've produced a couple of baby test projects for him in CW6 and
have noticed the following:
If i target for PPC, I get an OS9 ONLY executable
if i target for Carbon, I get an OSX ONLY executable (and upon
investigation with GetInfo, it has a "minus" in the
"Run as Classic app" check box, which I've never seen before)
All my experience tells me that Carbon apps should run in both environs -
so what and where am I missing things?
many thanks, in advance,
Simon
MW Ron - 04 Dec 2003 00:39 GMT
>I've just taken a look at a member of staff's system
>to help out on a problem - I've been doing Mac development
[quoted text clipped - 15 lines]
>All my experience tells me that Carbon apps should run in both environs -
>so what and where am I missing things?
There are two forms of Carbon, the CFM/PEF executables and the Mach-O
exectuables If you develop a Carbon application using Mach-O it can not
run in OS 9 and can not be set to launch as classic. I don't think CW
6 had a Mach-O compiler.
If however you are developing the normal PEF/CFM carbon then it should
be able to launch and run in either mode. I assume from your
description that is what you have. I'd really like to see a small
example and if you can do this with a stationery or example please let
me know.
The only other thing I can think of is maybe you don't have the classic
options with your OS X installation.
Ron

Signature
Get printed CodeWarrior Documentation (limited selection)
And all the latest versions of CodeWarrior Manuals
http://www.metrowerks.com/MW/Support/dev_resources/default.htm
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com