On 06/01/2013 at 04:34, xxxxxxxx wrote:
Thanks for your efforts Steve, you got me most of the way!!
Is anyone (support? =) ) able to give an idea of what might be going on here? Below is a stripped down version of the bitmap related code.
class MyTag : public TagData
virtual Bool Message(GeListNode *node, LONG type, void *data)
if(type == MSG_DESCRIPTION_GETBITMAP)
DescriptionCommand *dc_Bitmap = (DescriptionCommand* )data;
LONG Button_Bitmap = dc_Bitmap->id.id;
if(Button_Bitmap == ID_TAB_TILES_PREVIEW_TILE)
DescriptionGetBitmap *DGB_Bitmap = static_cast<DescriptionGetBitmap*>(data);
//Tab_Image->Destroy(); // tried this first off, didn't help
//Tab_Image.Release(); // tried this here, didn't help
DGB_Bitmap->bmp = Tab_Image->GetBitmap();
//Tab_Image.Release(); // tried this here too, didn't help
}; // End of class
The code has been heavily stripped... but that's the gist of it. I've tried removing all the external things that might influence it - such as some lines I had being drawn in it with if and else statements etc.
It'll draw the first time you go into the tab, but after that if the tab is updated, or you go out then back into the tab, Cinema crashes. Any ideas anyone? Anyway I can get what might be happening out of the crash report?