salsita/aji-ie — pull request #9 by IL55 (2012-09-18 08:52:14+00:00)
Title: As a aji-ie user I don't want * to see strange warning during compilation*

During compilation I see:
Warning	1	warning C4800: 'VARIANT *' : forcing value to bool 'true' or 'false' (performance warning)	C:\Users\IgorLobiv\Praha\SalsitaProjects\utb\toolbar\aji-ie\magpie\PopupWindow.cpp	814	1	magpie

I analyzed it and I see possible problem here:
compiler converts "'VARIANT *" to bool
due to class CComVariant hasn't constructor for VARIANT*
that is why compiler use CComVariant(_In_ bool bSrc)

but I suppose SW developer think about using
CComVariant(_In_ const VARIANT& varSrc).

So I think better will be

CComVariant vtt[] = {*pURL, pDisp};