[SOLVED] Window not attaching to GUI sheet.
Posted: Thu Mar 18, 2010 23:10
I get a 0 as the return value.
My CEGUI.log text file stops logging after I initialize Taharez. No errors, nothing. I'm just going to post my whole code. The problem is at the return value CEGUIsetGUISheet. It's 0, meaning it didn't work properly. The inputted WindowPtr is not 0.
First, here's the freebasic code, since this is a wrapper. Should be self-explanatory, probably...
Edit: whoops, forget the actual render function. Anyway, I think it has to do with the way I'm converting to/from u32*s.
Edit2: Er, it works again. Not exactly sure what I changed. Something to do with adding/removing parentheses in my #define...
My CEGUI.log text file stops logging after I initialize Taharez. No errors, nothing. I'm just going to post my whole code. The problem is at the return value CEGUIsetGUISheet. It's 0, meaning it didn't work properly. The inputted WindowPtr is not 0.
First, here's the freebasic code, since this is a wrapper. Should be self-explanatory, probably...
Edit: whoops, forget the actual render function. Anyway, I think it has to do with the way I'm converting to/from u32*s.
Edit2: Er, it works again. Not exactly sure what I changed. Something to do with adding/removing parentheses in my #define...