Witam,
Nie kompiluje mi się ten fragment kodu:
#define ReleaseCOM(x) { if((x)!=NULL) (x)−>Release(); (x)=NULL; }
ale jak oleję define'a i dam tak jak niżej to już się kompiluje.
if(pVBn!= NULL) {pVBn->Release(); pVBn=NULL;}
Błąd jak wywala to:
error C2146: syntax error : missing ';' before identifier '−'
error C2065: '−' : undeclared identifier