[SOLVED] Window not attaching to GUI sheet.

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

[SOLVED] Window not attaching to GUI sheet.

Postby agamemnus » 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...

Return to “Help”

Who is online

Users browsing this forum: No registered users and 12 guests