Yes, I known I can use:
try
.
.
except on e: exception<class> do
// use e as ExceptObject
end;
In Win32 personality this compiles without any warning
Thnx
Per
> Does anyone know why ? Is there a replacement for this (in my view) very
> handy object ref. ?
It is only deprectated in .NET, this is what the source code says:
function ExceptObject: TObject; deprecated; // expensive. Get out of
the habit
In your case you should just use 'e', there is no need to call
ExceptObject.
--
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Thnx Marc
Per