Do I have to call Finalize of a class instance?
Also, the IDisposable interface is defined in Monitor.pas, but can not use using syntax?
No. You shouldn't. The GC will call that for you.
What do you mean? You should be able to use using on monitor.
I wrote the following code.
However, I got a build error.
Thanks, logged as bugs://76914
Thanks; I'll take a look.
bugs://76914 got closed with status fixed.