Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Code Warrior > Re: Shared Libr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 468 of 537
Post > Topic >>

Re: Shared Libraries and Stubs

by MW Ron <mwron@[EMAIL PROTECTED] > Jun 30, 2005 at 03:19 PM

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
 




 4 Posts in Topic:
Shared Libraries and Stubs
"Mythic Wave" &  2005-06-30 11:25:38 
Re: Shared Libraries and Stubs
MW Ron <mwron@[EMAIL P  2005-06-30 15:19:48 
Re: Shared Libraries and Stubs
"Mythic Wave" &  2005-07-07 09:25:10 
Re: Shared Libraries and Stubs
MW Ron <mwron@[EMAIL P  2005-07-14 21:24:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 20 9:09:13 CDT 2008.