Fixed runtime pointers issue. Switched to NULL for ComSmartPointer.