ASSS Questions - 1.4.1 Object problem Bjorn - 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 Dr Brain - Tue Oct 25, 2005 7:17 pm Post subject:
Did you recompile against the new version's source?
Bjorn - Wed Oct 26, 2005 4:48 am Post subject:
Dr Brain wrote:
Did you recompile against the new version's source?
yes
Bjorn - Wed Oct 26, 2005 6:45 am Post subject:
bah, turns out I forgot to load up the objects module :/
Dr Brain - Wed Oct 26, 2005 9:43 am Post subject:
That would certainly cause that problem