cout << "IBar@" << static_cast<void*>(barp) << endl;
cout << "IBar@" << STATIC_CAST(void*, barp) << endl;
CreateIBar( void** result )		// a typical factory function (that calls AddRef)	{		cout << ">>CreateIBar() --> ";		IBar* barp = new IBar;		cout << "IBar@" << static_cast<void*>(barp) << endl;		barp->AddRef();		*result = barp;		cout << "<<CreateIBar()" << endl;		return 0;	}