First I am using Xcode 3.2.5 on a MAC OS X 10.6
I have an Cocoa Application project that builds and runs fine. I have some functions in this project that I am exporting out using:
#define CORE_EXPORT __attribute__ ((visibility ("default")))
extern "C" {
CORE_EXPORT IUIEventHandler* GetIUIEventHandler();
}
If I want another dynamic library project to be able to link to my original Cocoa Application so it can use the exported GetIUIEventHandler function, what do I need to do?
Do I need to build the original Cocoa Application also as a Dynamic Library also? Or is there a way to link the executable of the Cocoa Application?