SRL Archive - Help and Support

Odd runtime error.


The Un-Named

2006-04-17 08:11:30

[Runtime Error] : Exception: Can't create compatible DC in line 15 in script

a2 := BitmapFromString(7, 7, 'z78DA6DCF3B0E04210C03D02B4D3E' +

^^ Line 15.

Never seen this 1 before.

XxKanexX

2006-04-17 08:32:36

Sometimes you get errors for Bitmaps that might not be real. But i've never had that error before..

Example:

var t: integer;

begin
t:= BitmapFromString(1, 1, 'z34');
end.
;) Creates an error..

The Un-Named

2006-04-17 08:59:06

From: XxKanexX
Sometimes you get errors for Bitmaps that might not be real. But i've never had that error before..

Example:

var t: integer;

begin
t:= BitmapFromString(1, 1, 'z34');
end.
;) Creates an error..


It's a real bitmap alright. :P

a2 := BitmapFromString(7, 7, 'z78DA6DCF3B0E04210C03D02B4D3E' +
'C450B240EE7FA4716877282C841E8EE28A95610B93E9E819BA11C' +
'C80255420095991196E60DAC661B6FA45396902B8D2297FE5F3EF' +
'50AE2B47767DCACBA8FE4FB9291B9BBB1CCA2EA0EC1F72B2B3AB5' +
'FB9AF6C250DBC37D3BBCB62565B4D4CEE5573952971F8F7702F65' +
'CFC36C4C93E48BC9889D2E1633FDD911E92FED864500');