clearCanvas causes an access violation when using SMART.
Code:
Error: Exception: Access violation at line 78
The following DTMs were not freed: [0, 1, 2, SRL - Lamp bitmap, 4, 5, 6, 7, 8]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, SRL - Options Bitmap, 49]
Simba Code:
procedure SMART_ClearCanvas;
begin
if (not SMART_DebugSetup) then
SMART_SetupDebug;
If (SMART_CANVAS.TransparentColorSet) then
SMART_CANVAS.FastDrawClear(SMART_CANVAS.GetTransparentColor)
else
SMART_CANVAS.FastDrawClear(0); //This line
end;