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 |
|