Hi Biterider!
I maked a modification for objects without owner (DiskStream in this case) because original trash xax, wich contain error:Method Primer.ErrorReport, uses xsi, pErrorCaller:POINTER, dErrorCode:DWORD
SetObject xsi
OCall xsi.ErrorSet, dErrorCode
m2m [xsi].pErrorCaller, pErrorCaller, xax
.if [xsi].pOwner != NULL
OCall [xsi].pOwner::Primer.ErrorReport, xsi, dErrorCode
.endif
MethodEnd
now is:Method Primer.ErrorReport, uses xsi, pErrorCaller:POINTER, dErrorCode:DWORD
SetObject xsi
.if [xsi].pOwner != NULL
OCall xsi.ErrorSet, dErrorCode
m2m [xsi].pErrorCaller, pErrorCaller, xax
OCall [xsi].pOwner::Primer.ErrorReport, xsi, dErrorCode
.endif
MethodEnd
Regards, HSE.