Replace CFX_SmartPointer cast operator with Get() method.