C++ Builder 5, NeroCom
In the line
if(pCDInfo==NULL) return;
error
[C++ Error] MainUnit.cpp(53): E2015 Ambiguity between ‘INeroCDInfoPtr::operator INeroCDInfo *() const’ and ‘INeroCDInfoPtr::operator bool() const’
C++ Builder 5, NeroCom
In the line
if(pCDInfo==NULL) return;
error
[C++ Error] MainUnit.cpp(53): E2015 Ambiguity between ‘INeroCDInfoPtr::operator INeroCDInfo *() const’ and ‘INeroCDInfoPtr::operator bool() const’
Assuming there is analogy with MSVC++, you may try using pCDInfo.p == NULL instead.