Re: On Windows this is a dll, what is it on OS X
Re: On Windows this is a dll, what is it on OS X
- Subject: Re: On Windows this is a dll, what is it on OS X
- From: Chris Espinosa <email@hidden>
- Date: Mon, 17 Oct 2005 10:28:59 -0700
On Oct 17, 2005, at 9:38 AM, Jason T. Slack wrote: I have a carbon application that is a text editor. On the Windows version, I use .dll's to seperate out language keywords, etc for each language I can syntax highlight.
I want to use this same sort of logic for the Mac version, What xcode project do I use to create these little logic holders?
Is that a static library? Can you use many static libraries to compartmentalize logic in your application and then at runtime load the static libraries functionality?
Try CFPlugin or CFBundle. CFPlugin actually has some dll-like semantics. You can also use down-at-the-metal dylibs, but the higher-level CF interfaces are easier to work with.
"Static libraries" are by definition for linking in at compile/link time. If you want to load code at runtime, you must use dynamic link libraries (which is what both "dll" and "dylib" stand for)
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden