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>