In article <da1df002d37@[EMAIL PROTECTED]
>,
"Mythic Wave" <brian@[EMAIL PROTECTED]
> wrote:
>Here is another pretty basic question...
>
>I'm running CW 9.5 and building Classic projects. I've had to add some
stub
>libraries such as InterfaceLib, etc. to get my project to link
>
>When I try to debug the project, I get Application Launch Failure - The
>application "(null)" could not be launched because of a shared library
>error..
In order to run or debug non Carbon CFM programs (those using
interfaceLib or other stub libraries) you have to run them in the
Classic Window in OS X. CodeWarrior 9 will not run as a classic
application. We have provided an older version of the IDE that uses
the newer SYM format and by default it launches in Classic mode.
You can find this in the Other Metrowekrs Tools folder as CodeWarrior
8.3. Simply open the sym file with this IDE and you can debug your
applications.
>So I assume that because I've linked stub libraries, the shared library
is
>required to be present someplace. But I'm not sure where it should be,
or
>if I run in OS 9 or below, if the library is guaranteed to be there. Can
I
>be confident the libraries will always be available? How do I debug the
>project in OS X?
For classic the shared libraries are "extensions" and if they are
missing for example if tried to launch it in Mac OS 8.1 it will give an
error when it loads that the extension is missing.
You might want to consider creating a Carbon Application which will run
on OS X or run on OS 9 equally. Instead of InterfaceLib it uses
CarbonLib which encomp***** almost all of the OS 9 extensions.
There are a few things you can not do with Carbon that you could with
the older InterfaceLib and extensions but almost anything has a better
Carbon work around.
Hope this helps and doesn't confuse you too much
Ron
--
CodeWarrior Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and our staff
-- http://www.codewarrior.com/community
--
Ron Liechty - MWRon@[EMAIL PROTECTED]
- http://www.codewarrior.com


|