on 2/6/06 10:26 AM, Gen Kiyooka at email@hidden wrote:
The other factor to consider is that the 3 different dylib models
that are
available all have different life cycle models. I wrote a series of
test
programs that explored the loading/unloading cycle for dynamic libs,
frameworks and bundles and they have different unloading properties.
Hrm... I did not know this.
All that I saw did make me wonder what was going on in the runtime,
what was
causing things to behave like they did. I still wonder if that's
happening
and somehow playing subtle evil things.
My suggestion is to hook the mach load/unload entry points and dump
some stuff to the console log to make sure your frameworks are
loading
and unloading the way you expect them to.
I admit I don't know how to do this. Would you be so kind as to
enlighten
me? :-)
Good question. Since you're an ex-Codewarrior man, I wrote my samples
with CodeWarrior 8. It's using pragmas which may be CW specific.
I think I discovered the hook/entry points while browsing the sources
for dyld.
Either that or spelunking in MSL.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden