Hey Guys,
I seem to be having issues from time to time, and this one keeps coming up. Im trying to run a VERY simple line of code, just starting small and working my way up so I can learn the basics.
program variable;
//{$DEFINE SMART}
{$i AeroLib/AeroLib.Simba}
var pnt:tpoint;
procedure Move
begin
pnt := [331,162];
HumanMMouse(pnt, 5, 5);
end;
begin
initAl;
Move;
end.
After running this code a "Layer" popup comes up in simba and the following lines is highlighted in orange.
Sync(@_InitLayer); // Must be on simba's mainthread so we receive messages
In the debugger it says the following.
The following bitmaps were not freed: [0, 1]
Any idea why this keeps happening? Also, if you could tell me how to copy and paste simba code into a box so it looks as is that would be much appreciated, I understand it looks a lot cleaner than what I put up!