JPHamlett
2010-09-15 07:27:07
Hey, , so I'm making a script that I am asked to keep private by BlueWorld, and when I test my DTMs I get this.
Yes, I know they are not freed, but why am I getting the second line?
Here's my code, sorry bout blocking out some of the names of my DTMs, if I left them in there you'd know my script.
Compiled succesfully in 1716 ms.
Error: Exception: FindDTMs: DTM[] is not valid. at line 126
The following DTMs were not freed: [0, 1]
Yes, I know they are not freed, but why am I getting the second line?
Here's my code, sorry bout blocking out some of the names of my DTMs, if I left them in there you'd know my script.
Function TestDTMs: boolean;
var
PrivateDTM, X, Y, OtherDTM: integer;
begin
PrivateDTM := DTMFromString('78DA63DCC0C0C060CAC8800CB4751DC0344C9' +
'4713F90D04355039385ABD90C241C08A8590D24CC08A8D90424F4F1A' +
'B010048FC0533');
OtherDTM := DTMFromString('78DA6354666060B06500035608C5B068A13 80' +
'317906604E2FF40C0280A64D830A0012630C908E5318A0309 3702' +
'6A148084170135EA44A8D10512AE04D41820FC854B0D002F1 1084' +
'8');
result := finddtm(OtherDTM, x, y, msx1, msy1, msx2, msy2); // Error line
end;