In reply to dave_59:
In reply to Verif Engg:
A proxy is a way of representing the class type as another object. You can’t pass types around dynamically like you can pass a handle to an object. Think of the proxy class handle as an encoded value that represent a type you want to construct.
Hi Dave,
I understand how to register an obj/comp with the factory and how to use it. But the need for the proxy class is still confusing.
Could you simplify the above paragraph some more please?
Any class is a data type. Class data type can be dynamically constructed to create class objects, the class objects are accessed via class handles.
I need clarification on what it means when we say we cannot pass types around like we can with a handle/why do we need to represent the class type as another object?
Thanks a lot.