Re: Internet Config compatibility issue
Re: Internet Config compatibility issue
- Subject: Re: Internet Config compatibility issue
- From: Eric Schlegel <email@hidden>
- Date: Tue, 14 Jan 2003 08:35:10 -0800
On Tuesday, January 14, 2003, at 02:47 AM, Stiphane Sudre wrote:
The issue is that the Plug-in code is working fine on 10.2. But when
it's called in 10.1, it's crashing and its last words are:
"
2003-01-13 20:32:59.210 MyApp[702] Arghg!
dyld: /Applications/MyApp.app/Contents/MacOS/MyApp Undefined symbols:
/Library/MyFolder/Plug-ins/MyPlugin.bundle/Contents/MacOS/MyPlugin
undefined reference to _ICStart expected to be defined in Cocoa
"
My current idea for a solution is to wrap all the Internet Config
calls I'm using in the Plug-in into the Main Application (where the
symbols are correctly linked) and then call this wrapping API from the
Plug-In (NSBundle).
But if there was an easier solution, I would take it.
InternetConfig moved from HIToolbox.framework to HIServices.framework
in 10.2. The dyld error message looks like this caused it to also be
re-exported from Cocoa.framework somehow, I'm not quite sure how, on
10.2. I suspect it wasn't exported from Cooca.framework on 10.1.
I would guess that if you linked your plugin against Carbon.framework,
and organized the framework link order so that you linked against
Carbon before linking against Cocoa, then the linker would correctly
record that ICStart was imported from Carbon, not Cocoa. Then when you
load your plugin on 10.1, dyld will still be able to find ICStart since
it's exported from Carbon.framework on both 10.1 and 10.2.
-eric
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.