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 / January 2004



Tip: Looking for answers? Try searching our database.

Private Framework

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Scrève - 14 Jan 2004 20:51 GMT
   I'm trying to use private frameworks in my MachO application (I will do
the same thing with Bundles later...). Then, I've created a FrameWork called
MyFramework and created an Application Package. I've included the framework
in app package. Then, I've called the exported function, and it does not
link until I added an include file contained by the framework ???? What's
the link between source code and linker ???

Then, I have created a Frameworks directory inside Contents folder of
package, and added MyFramework inside.

   It links fine, but when starting to debug, it does not start in my
main() function, but in assembly as like the Framework were not found. This
problem appears only if I add the Framework to my project (not inside
package). It disappears if I remove the framework.

   My 1st question is : How can I use private framework and link against ?

   My 2nd question : How can I do the same thing using PlugIn ? Will my
Framework be able to load plugin that are the Application Plugins folder ?

   My 3rd question : Is there any URL/doc that explain how the
Bundle/Framework/Plugin are located by the OS ?

   Regards,

David
--
David Scrève -- "La pile Wonder ne s'use que si l'on s'en sert."
MW Ron - 14 Jan 2004 21:58 GMT
>    I'm trying to use private frameworks in my MachO application (I will do
>the same thing with Bundles later...). Then, I've created a FrameWork called
[quoted text clipped - 18 lines]
>    My 3rd question : Is there any URL/doc that explain how the
>Bundle/Framework/Plugin are located by the OS ?

David did you look at the framework example in the CodeWarrior Examples?  
Also read the Frameworks Notes.txt   I think this may be helpful for
you, if you haven't already done it.

Ron

Signature

Metrowerks, maker of CodeWarrior   -  "Software Starts Here"  
Ron Liechty - MWRon@metrowerks.com - <http://www.metrowerks.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



©2009 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.