Author |
Message |
Bjorn Novice
Joined: Apr 27 2004 Posts: 45 Offline
|
Posted: Tue Oct 25, 2005 5:48 pm Post subject: 1.4.1 Object problem |
 |
|
|
|
I'm having a weird problem in 1.4.1 when it comes to the Object interface.
I have some modules that was written for 1.4.0 and work fine there
but when I try to run them on 1.4.1 it turns out the object interface wont "load" correctly. The normal code to get the interface returns NULL.
Anyone else had this problem or know whats causing it?
I wont attach the full source since thats alot of code for nothing but ill include the lines that relate to objects just to see if theres anything obvious thats changed or is missing.
//I include the objects header
#include "objects.h"
//Then at the top i list Iobjects as an interface
local Iobjects *obj;
//And in the load part of the entry point I do this, as I did on 1.4.0 (this is what returns NULL)
obj = mm->GetInterface(I_OBJECTS,ALLARENAS);
And then i ofcourse release the interface on unload but havn't gotten that far so kinda uninteresting  |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Oct 25, 2005 7:17 pm Post subject: |
 |
|
|
|
Did you recompile against the new version's source? _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Bjorn Novice
Joined: Apr 27 2004 Posts: 45 Offline
|
Posted: Wed Oct 26, 2005 4:48 am Post subject: |
 |
|
|
|
Dr Brain wrote: | Did you recompile against the new version's source? |
yes |
|
Back to top |
|
 |
Bjorn Novice
Joined: Apr 27 2004 Posts: 45 Offline
|
Posted: Wed Oct 26, 2005 6:45 am Post subject: |
 |
|
|
|
bah, turns out I forgot to load up the objects module :/ |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Oct 26, 2005 9:43 am Post subject: |
 |
|
|
|
That would certainly cause that problem  |
|
Back to top |
|
 |
|