Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / March 2006



Tip: Looking for answers? Try searching our database.

OS X application wanted to run as OS 9

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DLPnet - 23 Mar 2006 11:13 GMT
Hello,

I ve currently quite a strange problem. My application is running on OS
X, it s carbonized. I m using CW 8.3.

Evertyning worked well in the past (2 or 3 months ago) but now I m going
back to work on it and I m facing a problem :
if I compile in debug mode everything goes well. When I compile in
release and try to launch the application, I can see in the dockbar the
Icon of my application as an OSX application but 2 or 3 seconds later
the icon disappear and the Classic Environment is launched. Of course it
s not at all the wanted behaviour.

So any idea/hint/direction where I can look for a solution on this
problem ? For now I m really stuck since it s working in debug, not in
release and that it "had" worked not so far ago (I hope something change
even if I m quite sure nothing changes)

Thanks for the help

Dlp
hp - 27 Mar 2006 04:57 GMT
try adding Carbon.r to your "released" project...
Stephen Kay - 28 Mar 2006 03:05 GMT
I have an OS 9 app that I am going to port to OS X. So first I'd like to see
if I can just get it to build for OS 9 (Classic), but under OS X.

So I am using CW 9.6, under OS X 10.3.9 at the moment.

I converted the project (from CW 7), and everything compiles and links, but
when I attempt to launch the App in Debug Run (which would launch Classic, I
assume), I get the following error:

Application Launch Failure
The application "(null)" could not be launched because of a shared library
error: "><My Application Name><My Application Name><InterfaceLib><>"

After answering OK to this Error Dialog, nothing happens, but trying to
Debug Run again gives "The process is already starting" and nothing can be
done about it. CW must be quit and restarted.

I have InterfaceLib in my project, as per always. It is looking at
InterfaceLib in {Compiler}MacOS Support/Universal/Libraries/StubLibraries,
which is in the CW 9.6 folder, as expected. I have no idea what to try at
this point.

This same project/target compiles fine in OS 9.2.2 under CW 7.

Thanks for any pointers.

Signature

Stephen Kay
Karma-Lab   sk@karma-lab.NOSPAM.com
                       ^^^^^^^

Stephen Kay - 28 Mar 2006 03:10 GMT
Actually, I have just launched it using Run, not Debug Run - I assume the
problem was that I am attempting to debug a Mac OS 9 application while
running Classic in OS X?  Is this even possible? Perhaps my Classic folder
is not configured correctly...

> I have an OS 9 app that I am going to port to OS X. So first I'd like to see
> if I can just get it to build for OS 9 (Classic), but under OS X.
[quoted text clipped - 21 lines]
>
> Thanks for any pointers.

Signature

Stephen Kay
Karma-Lab   sk@karma-lab.NOSPAM.com
                       ^^^^^^^

Stephen Kay - 29 Mar 2006 19:08 GMT
I'm working on porting an older OS9 app to OS X. I am wondering:

Is it possible to debug the OS 9 version, when launched from CW 9.6 in OS X?

I seem to be getting crashes when trying to do so. I'm not sure if this is
even doable...

Thanks.
Signature

Stephen Kay
Karma-Lab   sk@karma-lab.NOSPAM.com
                       ^^^^^^^

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.