eldenjh / csexwb2

Automatically exported from code.google.com/p/csexwb2
0 stars 0 forks source link

errors at compile time (comutilities) #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm getting a lot of errors at compiling the comutilities:

Error   23  error C2027: use of undefined type 'IUri'   d:\Visual Studio
controls\csExWBv2.0.0.2_Includes_ComUtilities\csExWBv2.0.0.2\ComUtilities\ComUti
lities\ManagedAppBridge.cpp
384
Error   26  error C2039: 'StartEx' : is not a member of
'ATL::_NoAddRefReleaseOnCComPtr<T>' d:\Visual Studio
controls\csExWBv2.0.0.2_Includes_ComUtilities\csExWBv2.0.0.2\ComUtilities\ComUti
lities\ManagedAppBridge.cpp
393
Error   27  error C2039: 'StartEx' : is not a member of
'ATL::_NoAddRefReleaseOnCComPtr<T>' d:\Visual Studio
controls\csExWBv2.0.0.2_Includes_ComUtilities\csExWBv2.0.0.2\ComUtilities\ComUti
lities\ManagedAppBridge.cpp
577
Error   9   error C2078: too many initializers  d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
68
Error   20  error C2078: too many initializers  d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
68
Error   24  error C2227: left of '->GetAbsoluteUri' must point to
class/struct/union/generic type d:\Visual Studio
controls\csExWBv2.0.0.2_Includes_ComUtilities\csExWBv2.0.0.2\ComUtilities\ComUti
lities\ManagedAppBridge.cpp
384
Error   3   error C2440: 'initializing' : cannot convert from
'ATL::_ATL_CREATORARGFUNC (__stdcall *)' to 'DWORD_PTR' d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
66
Error   5   error C2440: 'initializing' : cannot convert from
'ATL::_ATL_CREATORARGFUNC (__stdcall *)' to 'DWORD_PTR' d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
67
Error   14  error C2440: 'initializing' : cannot convert from
'ATL::_ATL_CREATORARGFUNC (__stdcall *)' to 'DWORD_PTR' d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
66
Error   16  error C2440: 'initializing' : cannot convert from
'ATL::_ATL_CREATORARGFUNC (__stdcall *)' to 'DWORD_PTR' d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
67
Error   11  error C2440: 'initializing' : cannot convert from 'const _GUID *'
to 'ATL::_ATL_CREATORARGFUNC (__stdcall *)' d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
71
Error   22  error C2440: 'initializing' : cannot convert from 'const _GUID *'
to 'ATL::_ATL_CREATORARGFUNC (__stdcall *)' d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
71
Error   10  error C2440: 'initializing' : cannot convert from 'const _GUID
*' to 'DWORD_PTR'   d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
70
Error   21  error C2440: 'initializing' : cannot convert from 'const _GUID
*' to 'DWORD_PTR'   d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
70
Error   4   error C2440: 'static_cast' : cannot convert from
'CManagedAppBridge::_ComMapClass *' to 'IInternetProtocol *'    d:\visual
studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
67
Error   15  error C2440: 'static_cast' : cannot convert from
'CManagedAppBridge::_ComMapClass *' to 'IInternetProtocol *'    d:\visual
studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
67
Error   7   error C2440: 'static_cast' : cannot convert from
'CManagedAppBridge::_ComMapClass *' to 'IInternetProtocolEx *'  d:\visual
studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
68
Error   18  error C2440: 'static_cast' : cannot convert from
'CManagedAppBridge::_ComMapClass *' to 'IInternetProtocolEx *'  d:\visual
studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
68
Error   2   error C2440: 'static_cast' : cannot convert from
'CManagedAppBridge::_ComMapClass *' to 'IInternetProtocolRoot *'    d:\visual
studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
66
Error   13  error C2440: 'static_cast' : cannot convert from
'CManagedAppBridge::_ComMapClass *' to 'IInternetProtocolRoot *'    d:\visual
studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
66
Error   1   error C2504: 'IInternetProtocolEx' : base class undefined   d:\visual
studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
28
Error   12  error C2504: 'IInternetProtocolEx' : base class undefined
d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
28
Error   25  error C2504: 'IInternetProtocolEx' : base class undefined
C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\atlmfc\include\atlcomcli.h   102
Error   8   error C2552: 'ATL::_ATL_INTMAP_ENTRY::piid' : non-aggregates cannot
be initialized with initializer list    d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
68
Error   19  error C2552: 'ATL::_ATL_INTMAP_ENTRY::piid' : non-aggregates
cannot be initialized with initializer list d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
68
Error   6   error C2787: 'IInternetProtocolEx' : no GUID has been associated
with this object    d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
68
Error   17  error C2787: 'IInternetProtocolEx' : no GUID has been associated
with this object    d:\visual studio
controls\csexwbv2.0.0.2_includes_comutilities\csexwbv2.0.0.2\comutilities\comuti
lities\ManagedAppBridge.h
68
Error   28  fatal error LNK1181: cannot open input file 'rpcndr.lib'
ComUtilitiesPS

Also, I can't register the comutility. I gives me an error with a pop up
about not being able to find it. Although it is in the sys32 folder.

I can run my own project (set to x86) and surf to an url after pressing a
button that has a predefined url. I can't see the addressbar, although its
set to 'true'. And its not navigating to the url when i give one in the
constructor AFTER initializecomponents();

I got vista x64 ultimate.

What am I doing wrong?

Thanks in advance!

Original issue reported on code.google.com by A.Bouchl...@gmail.com on 13 Mar 2010 at 11:48

GoogleCodeExporter commented 8 years ago

Btw,

I'm using version 2.0.0.2

Original comment by A.Bouchl...@gmail.com on 13 Mar 2010 at 12:19

GoogleCodeExporter commented 8 years ago

Disregard:

[quote]
and surf to an url after pressing a
button that has a predefined url.

although its
set to 'true'. And its not navigating to the url when i give one in the
constructor AFTER initializecomponents();
[/quote]

I was working with the wrong webbrowser control. Got the names mixed up.

Still can't see the address bar, though. And compile the comutilities project.

Original comment by A.Bouchl...@gmail.com on 13 Mar 2010 at 12:25