Smartzkid
2007-07-09 19:48:39

That's with SCAR Divi 3.10, running my modified image pipe (below), using the smart_scar.dll that's in the debug folder (SMART\SCAR\Debug)
It happens as soon as you start the script. Since SCAR doesn't output the link name to the debug box, I assume the problem is somewhere in the SmartSetupLink code.
program SmartImagePipe;
var
refreshed: integer;
{**
* Makes the Image created by the client the target of Scar
* Note: In Scars older than Divi, this does not change the
* result of GetColor. So, upgrade to Divi for that.
*}
procedure SmartSetTarget;
begin
SetTargetDc(SmartGetJavaDC);
end;
begin
SmartSetupLink('Smart');
writeln(SmartLinkName)
SmartSetTarget;
DisplayDebugImgWindow(765,503);
repeat
//Controlls the frame rate. Lower it for a smoother picture
refreshed := refreshed + 1;
Wait(500);
//Since the target is set, its now the client canvas.
CopyCanvas(GetClientCanvas,GetDebugCanvas,0,0,765,503,0,0,765,503);
until isfkeydown(12);
writeln('Refreshed ' + inttostr(refreshed) + ' times');
end.