Re: VS2005 Compiler Crashes - Sample Code provided
Hi there, my VS2005 x64 and x86 compiler crashes with the following
ATL client code.
Christian,
I also can reproduce the crash in VS2005, but not with VS2008 or
VS2010.
VS2008 reports:
error C2259: 'CBar<giudLib,cild>' : cannot instantiate abstract class
with
[
giudLib=& LIBID_MY_SERVICE,
cild=_GUID_aaaaaaaa_aaaa_aaaa_aaaa_aaaaaaaaaaaa
]
due to following members:
'HRESULT IUnknown::QueryInterface(const IID &,void **)' : is
abstract
d:\program files\microsoft
sdks\windows\v6.0a\include\unknwn.h(116) : see declaration of
'IUnknown::QueryInterface'
'ULONG IUnknown::AddRef(void)' : is abstract
d:\program files\microsoft
sdks\windows\v6.0a\include\unknwn.h(120) : see declaration of
'IUnknown::AddRef'
'ULONG IUnknown::Release(void)' : is abstract
d:\program files\microsoft
sdks\windows\v6.0a\include\unknwn.h(122) : see declaration of
'IUnknown::Release'
'HRESULT ISupportErrorInfo::InterfaceSupportsErrorInfo(const
IID &)' : is abstract
d:\program files\microsoft
sdks\windows\v6.0a\include\oaidl.h(4375) : see declaration of
'ISupportErrorInfo::InterfaceSupportsErrorInfo'
VS2010 does the same, though clicking on the error in the error list
then crashes the IDE! I'll bug that one :)
Dave