Objective-C, Win32, dll, objc_exec_class and objc_load_callback
Ovidiu Predescu
ovidiu@cup.hp.com
Fri Jan 5 11:24:00 GMT 2001
Michael,
On Fri, 05 Jan 2001 11:47:52 +0100, Michael Scheibler
<michael.scheibler@onevision.de> wrote:
> I am currently trying to use dynamically linked libraries on win32. I
> found out, that the +load method of my class inside my dll is invoked
> correctly, but the callback routine _objc_load_callback, though
> redirected, is never invoked. There's no problem with that on other
> platforms.
The code for invoking the _objc_load_callback is in libobjc/init.c. Could you
please compile with debug info the ObjC library and put the debugger on your
code to see what happens?
The code you should look at is right at the end of objc_send_load(). Please let
me know what is happens on win32 as I don't have such a system to test onto.
On what other platforms did you try your code?
Best regards,
--
Ovidiu Predescu <ovidiu@cup.hp.com>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://www.geocities.com/SiliconValley/Monitor/7464/
More information about the Gcc
mailing list