Different const qualifiers warning ....should this be?

  • Follow


Whenever compiling COM related programs I get this warning:  Different const
qualifiers

Such as:
m_Sherlock->lpVtbl->QueryInterface(m_Sherlock,&IID_IConnectionPointContainer
,(LPVOID*)&cpc);

The &IID_IConnectionPointContainer will cause the warning. The strange thing
is that it only emits the warning when compiling as a GUI, but not when
compiling as Console.

Is there something I'm not doing? or is this not a valid warning?

Thanks,
Mike H.


0
Reply Mike 6/7/2004 5:03:24 AM


0 Replies
568 Views

(page loaded in 0.017 seconds)

Similiar Articles:













7/24/2012 10:56:57 PM


Reply: