Casting shape handle to void

You can easily cast a reference to the handle object to void * by defining the following :

void *pointer;

Handle(Some_class) aHandle;

// Here only a pointer will be copied

Pointer = &aHandle;

// Here the Handle object will be copied

aHandle = * (Handle(Some_Class) *)pointer;