Hello,
We have a Delphi design-time module in which we execute Data Abstract calls.
For some developers, it does not work. For others, it worked initially, but stopped working.
After some debugging, the code which fails can be reduced to:
procedure TDADatasetComponentEditor.TestROCache;
Var
a : TClass;
begin
try
a:=uRORTTISupport.RORTTI_GetExceptionClass(‘SessionNotFoundException’,Nil);
ShowMessage(‘OK’);
except
On E : exception do
ShowMessage(Format(‘Failed: %s %s’,[E.ClassName,E.Message]));
end;
end;
(this is a component editor method, simply invoked by right-clicking a component and selecting a method we made)
This is the result:
If we remove the try…except block, we can see that madexcept reports the following stack trace:
(the same stacktrace can be observed with other tools)
Any ideas what could cause this, or has this been observed before ?