Re: NSBundle dynamic loading problem
Re: NSBundle dynamic loading problem
- Subject: Re: NSBundle dynamic loading problem
- From: Shaun Wexler <email@hidden>
- Date: Mon, 19 Dec 2005 15:03:20 -0800
On Dec 19, 2005, at 10:13 AM, Josh Ferguson wrote:
I have a framework that needs to be loaded dynamically in order to
support self-updating. I'm finding unexplainable behavior and I was
curious if anyone had any input. Here's what's happening:
Can you can refactor your framework? I suggest using a C plug-in
(COM model) to encapsulate the code which can be updated, and wrap
the C functions with framework methods. Plus you can sign the plug-
in code easily, and even remove all dependencies on external
libraries within the plug-in code itself. All the framework needs to
do is patch its own internal function dispatch structure after it
downloads and authenticates the new plug-in. Another benefit is that
you don't have to replace ALL functions with a plug-in, which might
just update a subset of the other plug-ins' functionality...
--
Shaun Wexler
MacFOH
http://www.macfoh.com
"Intellectuals solve problems, geniuses prevent them." - Albert Einstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden