In reply to ziggy:
The code you just posted does not work. Did you simulate it?
b=a; // should give you a compile error
b.disp(); // should be a run time fatal because b has a null handle.
In reply to ziggy:
The code you just posted does not work. Did you simulate it?
b=a; // should give you a compile error
b.disp(); // should be a run time fatal because b has a null handle.