From: Jouke V. <jo...@pv...> - 2004-08-23 09:59:58
|
Hello, I just tried to install Wx::ActiveX 0.05 and failed. The situation is as follows: wxWidgets 2.4.2 compiled with UNICODE=1 and MSLU=1 wxPerl 0.18 (of course with Unicode enabled) ActiveState Perl 5.8.3 MS VC6 Below is the output that I got, does anyone have an idea how to solve it? cp lib/Wx/ActiveX/Event.pm blib\lib\Wx\ActiveX\Event.pm cp ActiveX/IEHtmlWin.cpp blib\lib\Wx\ActiveX\IEHtmlWin.cpp cp ActiveX/wxactivex.h blib\lib\Wx\ActiveX\wxactivex.h cp lib/Wx/ActiveX/Acrobat.pm blib\lib\Wx\ActiveX\Acrobat.pm cp lib/Wx/ActiveX/IE.pm blib\lib\Wx\ActiveX\IE.pm cp ActiveX/wxactivex.cpp blib\lib\Wx\ActiveX\wxactivex.cpp cp lib/Wx/ActiveX/WMPlayer.pm blib\lib\Wx\ActiveX\WMPlayer.pm cp ActiveX/IEHtmlWin.h blib\lib\Wx\ActiveX\IEHtmlWin.h cp lib/Wx/ActiveX.pm blib\lib\Wx\ActiveX.pm cp lib/Wx/ActiveX/Flash.pm blib\lib\Wx\ActiveX\Flash.pm C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -noprototypes -typemap C:\Perl\lib\ExtUtils\typemap -typemap C:\Perl\site\lib\Wx\typemap -typemap typemap ActiveX.xs > ActiveX.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv ActiveX.xsc ActiveX.c cl -c -IC:\Perl\site\lib\Wx\build -I. -IC:\Perl\site\lib\Wx -Ic:\wxWindows-2.4.2/lib/mswdllu -Ic:\wxWindows-2.4.2\include -Ic:\wxWindows-2.4.2/contrib/include -GF -TP -c -W3 -nologo /O1 /MD /GX- -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" "-IC:\Perl\lib\CORE" -DWXPL_EXT -DWIN32 -D__WIN32__ -D_WINDOWS -DWINVER=0x0400 /D__WIN95__ /D__WXMSW__ /DWXUSINGDLL=1 /D__WINDOWS__ -D__WXMSW__ ActiveX.c ActiveX.c activex/wxactivex.cpp(269) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [10]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(270) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [6]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(271) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [5]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(272) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [5]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(273) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [5]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(274) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [6]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(275) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [5]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(276) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [15]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(277) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [14]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(278) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [4]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(279) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [13]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(280) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [8]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(281) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [8]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(282) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [9]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(283) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [7]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(284) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [9]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(285) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [10]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(286) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [12]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(287) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [5]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(288) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [10]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(289) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [8]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(290) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [5]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(291) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [7]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(292) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [15]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(297) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'char [9]' (or there is no acceptable conversion) activex/wxactivex.cpp(1055) : error C2678: binary '+' : no operator defined which takes a left-hand operand of type 'char [42]' (or there is no acceptable conversion) activex/wxactivex.cpp(1056) : error C2679: binary '+=' : no operator defined which takes a right-hand operand of type 'char [20]' (or there is no acceptable conversion) activex/wxactivex.cpp(1060) : error C2679: binary '+=' : no operator defined which takes a right-hand operand of type 'char [3]' (or there is no acceptable conversion) activex/wxactivex.cpp(1289) : error C2440: 'initializing' : cannot convert from 'char [1]' to 'class wxString' No constructor could take the source type, or constructor overload resolution was ambiguous activex/wxactivex.cpp(1298) : error C2440: 'initializing' : cannot convert from 'char [1]' to 'class wxString' No constructor could take the source type, or constructor overload resolution was ambiguous activex/wxactivex.cpp(1308) : error C2440: 'initializing' : cannot convert from 'char [1]' to 'class wxString' No constructor could take the source type, or constructor overload resolution was ambiguous activex/wxactivex.cpp(1334) : error C2440: 'initializing' : cannot convert from 'char [1]' to 'class wxString' No constructor could take the source type, or constructor overload resolution was ambiguous activex/wxactivex.cpp(1377) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'char [11]' (or there is no acceptable conversion) activex/wxactivex.cpp(1406) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'char [9]' (or there is no acceptable conversion) activex/wxactivex.cpp(1437) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'char [11]' (or there is no acceptable conversion) activex/wxactivex.cpp(1474) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'char [11]' (or there is no acceptable conversion) activex/wxactivex.cpp(2646) : error C2664: 'FormatMessageW' : cannot convert parameter 5 from 'char [256]' to 'unsigned short *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast activex/wxactivex.cpp(2650) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'char [256]' (or there is no acceptable conversion) activex/wxactivex.cpp(2664) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2667) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [65]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2670) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [107]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2673) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [61]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2676) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [124]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2679) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [115]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2682) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [162]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2685) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [34]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2688) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [164]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2691) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [89]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2694) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [86]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2697) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [79]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2700) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [93]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2703) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [48]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2706) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [13]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2709) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [14]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2712) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [14]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2715) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [13]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2718) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [18]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2721) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [7]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2724) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [10]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/wxactivex.cpp(2730) : error C2440: 'type cast' : cannot convert from 'char [64]' to 'class wxString' No constructor could take the source type, or constructor overload resolution was ambiguous activex/wxactivex.cpp(2864) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [22]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast ActiveX.xs(206) : error C2664: 'LoadLibrary' : cannot convert parameter 1 from 'char [4]' to 'const unsigned short *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast activex/IEHtmlWin.cpp(315) : error C2664: 'struct tagVARIANT __thiscall wxActiveX::CallMethod(class wxString,struct tagVARIANT [],int)' : cannot convert parameter 1 from 'char [7]' to 'class wxString' No constructor could take the source type, or constructor overload resolution was ambiguous activex/IEHtmlWin.cpp(411) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/IEHtmlWin.cpp(421) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/IEHtmlWin.cpp(432) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/IEHtmlWin.cpp(438) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/IEHtmlWin.cpp(445) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/IEHtmlWin.cpp(451) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast activex/IEHtmlWin.cpp(463) : error C2664: '__thiscall wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast |
From: mattia\.barbon\@libero\.it <mat...@li...> - 2004-08-23 10:37:13
|
> Hello, > > I just tried to install Wx::ActiveX 0.05 and failed. The = situation is as > follows: > > wxWidgets 2.4.2 compiled with UNICODE= =3D1 and MSLU=3D1 > wxPerl 0.18 (of course with Unicode enabled) > Acti= veState Perl 5.8.3 > MS VC6 > > Below is the output that I got, does = anyone have an idea how to solve it? I sent a patch to Graciliano ab= out this. I can't send it to you right now, but it mostly consisted in a= dding _T("") around strings that did not have it. HTH Mattia > = cp lib/Wx/ActiveX/Event.pm blib\lib\Wx\ActiveX\Event.pm > cp ActiveX/IEH= tmlWin.cpp blib\lib\Wx\ActiveX\IEHtmlWin.cpp > cp ActiveX/wxactivex.h bl= ib\lib\Wx\ActiveX\wxactivex.h > cp lib/Wx/ActiveX/Acrobat.pm blib\lib\Wx= \ActiveX\Acrobat.pm > cp lib/Wx/ActiveX/IE.pm blib\lib\Wx\ActiveX\IE.pm=0D = > cp ActiveX/wxactivex.cpp blib\lib\Wx\ActiveX\wxactivex.cpp > cp lib/Wx= /ActiveX/WMPlayer.pm blib\lib\Wx\ActiveX\WMPlayer.pm > cp ActiveX/IEHtml= Win.h blib\lib\Wx\ActiveX\IEHtmlWin.h > cp lib/Wx/ActiveX.pm blib\lib\Wx= \ActiveX.pm > cp lib/Wx/ActiveX/Flash.pm blib\lib\Wx\ActiveX\Flash.pm=0D = > C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -noprototypes > -t= ypemap C:\Perl\lib\ExtUtils\typemap -typemap > C:\Perl\site\lib\Wx\type= map -typemap typemap ActiveX.xs > ActiveX.xsc > && C:\Perl\bin\perl.ex= e -MExtUtils::Command -e mv ActiveX.xsc ActiveX.c > cl -c -IC:\Perl\si= te\lib\Wx\build -I. -IC:\Perl\site\lib\Wx > -Ic:\wxWindows-2.4.2/lib/ms= wdllu -Ic:\wxWindows-2.4.2\include > -Ic:\wxWindows-2.4.2/contrib/inclu= de -GF -TP -c -W3 -nologo /O1 /MD > /GX- -MD -Zi -DNDEBUG -O1 -DVER= SION=3D\"0.05\" -DXS_VERSION=3D\"0.05\" > "-IC:\Perl\lib\CORE" -DWXPL= _EXT -DWIN32 -D__WIN32__ -D_WINDOWS > -DWINVER=3D0x0400 /D__WIN95__ /D_= _WXMSW__ /DWXUSINGDLL=3D1 /D__WINDOWS__ > -D__WXMSW__ ActiveX.c > Acti= veX.c > activex/wxactivex.cpp(269) : error C2664: '__thiscall > wxStri= ng::wxString(int)' : cannot convert parameter 1 from 'char [10]' > to '= int' > This conversion requires a reinterpret_cast, a C-style c= ast or > function-style cast > activex/wxactivex.cpp(270) : error C266= 4: '__thiscall > wxString::wxString(int)' : cannot convert parameter 1 = from 'char [6]' to > 'int' > This conversion requires a reint= erpret_cast, a C-style cast or > function-style cast > activex/wxactiv= ex.cpp(271) : error C2664: '__thiscall > wxString::wxString(int)' : can= not convert parameter 1 from 'char [5]' to > 'int' > This con= version requires a reinterpret_cast, a C-style cast or > function-style= cast > activex/wxactivex.cpp(272) : error C2664: '__thiscall > wxStri= ng::wxString(int)' : cannot convert parameter 1 from 'char [5]' to > 'i= nt' > This conversion requires a reinterpret_cast, a C-style ca= st or > function-style cast > activex/wxactivex.cpp(273) : error C2664= : '__thiscall > wxString::wxString(int)' : cannot convert parameter 1 f= rom 'char [5]' to > 'int' > This conversion requires a reinte= rpret_cast, a C-style cast or > function-style cast > activex/wxactive= x.cpp(274) : error C2664: '__thiscall > wxString::wxString(int)' : cann= ot convert parameter 1 from 'char [6]' to > 'int' > This conv= ersion requires a reinterpret_cast, a C-style cast or > function-style = cast > activex/wxactivex.cpp(275) : error C2664: '__thiscall > wxStrin= g::wxString(int)' : cannot convert parameter 1 from 'char [5]' to > 'in= t' > This conversion requires a reinterpret_cast, a C-style cas= t or > function-style cast > activex/wxactivex.cpp(276) : error C2664:= '__thiscall > wxString::wxString(int)' : cannot convert parameter 1 fr= om 'char [15]' > to 'int' > This conversion requires a reinte= rpret_cast, a C-style cast or > function-style cast > activex/wxactive= x.cpp(277) : error C2664: '__thiscall > wxString::wxString(int)' : cann= ot convert parameter 1 from 'char [14]' > to 'int' > This con= version requires a reinterpret_cast, a C-style cast or > function-style= cast > activex/wxactivex.cpp(278) : error C2664: '__thiscall > wxStri= ng::wxString(int)' : cannot convert parameter 1 from 'char [4]' to > 'i= nt' > This conversion requires a reinterpret_cast, a C-style ca= st or > function-style cast > activex/wxactivex.cpp(279) : error C2664= : '__thiscall > wxString::wxString(int)' : cannot convert parameter 1 f= rom 'char [13]' > to 'int' > This conversion requires a reint= erpret_cast, a C-style cast or > function-style cast > activex/wxactiv= ex.cpp(280) : error C2664: '__thiscall > wxString::wxString(int)' : can= not convert parameter 1 from 'char [8]' to > 'int' > This con= version requires a reinterpret_cast, a C-style cast or > function-style= cast > activex/wxactivex.cpp(281) : error C2664: '__thiscall > wxStri= ng::wxString(int)' : cannot convert parameter 1 from 'char [8]' to > 'i= nt' > This conversion requires a reinterpret_cast, a C-style ca= st or > function-style cast > activex/wxactivex.cpp(282) : error C2664= : '__thiscall > wxString::wxString(int)' : cannot convert parameter 1 f= rom 'char [9]' to > 'int' > This conversion requires a reinte= rpret_cast, a C-style cast or > function-style cast > activex/wxactive= x.cpp(283) : error C2664: '__thiscall > wxString::wxString(int)' : cann= ot convert parameter 1 from 'char [7]' to > 'int' > This conv= ersion requires a reinterpret_cast, a C-style cast or > function-style = cast > activex/wxactivex.cpp(284) : error C2664: '__thiscall > wxStrin= g::wxString(int)' : cannot convert parameter 1 from 'char [9]' to > 'in= t' > This conversion requires a reinterpret_cast, a C-style cas= t or > function-style cast > activex/wxactivex.cpp(285) : error C2664:= '__thiscall > wxString::wxString(int)' : cannot convert parameter 1 fr= om 'char [10]' > to 'int' > This conversion requires a reinte= rpret_cast, a C-style cast or > function-style cast > activex/wxactive= x.cpp(286) : error C2664: '__thiscall > wxString::wxString(int)' : cann= ot convert parameter 1 from 'char [12]' > to 'int' > This con= version requires a reinterpret_cast, a C-style cast or > function-style= cast > activex/wxactivex.cpp(287) : error C2664: '__thiscall > wxStri= ng::wxString(int)' : cannot convert parameter 1 from 'char [5]' to > 'i= nt' > This conversion requires a reinterpret_cast, a C-style ca= st or > function-style cast > activex/wxactivex.cpp(288) : error C2664= : '__thiscall > wxString::wxString(int)' : cannot convert parameter 1 f= rom 'char [10]' > to 'int' > This conversion requires a reint= erpret_cast, a C-style cast or > function-style cast > activex/wxactiv= ex.cpp(289) : error C2664: '__thiscall > wxString::wxString(int)' : can= not convert parameter 1 from 'char [8]' to > 'int' > This con= version requires a reinterpret_cast, a C-style cast or > function-style= cast > activex/wxactivex.cpp(290) : error C2664: '__thiscall > wxStri= ng::wxString(int)' : cannot convert parameter 1 from 'char [5]' to > 'i= nt' > This conversion requires a reinterpret_cast, a C-style ca= st or > function-style cast > activex/wxactivex.cpp(291) : error C2664= : '__thiscall > wxString::wxString(int)' : cannot convert parameter 1 f= rom 'char [7]' to > 'int' > This conversion requires a reinte= rpret_cast, a C-style cast or > function-style cast > activex/wxactive= x.cpp(292) : error C2664: '__thiscall > wxString::wxString(int)' : cann= ot convert parameter 1 from 'char [15]' > to 'int' > This con= version requires a reinterpret_cast, a C-style cast or > function-style= cast > activex/wxactivex.cpp(297) : error C2679: binary '<<' : no opera= tor > defined which takes a right-hand operand of type 'char [9]' (or t= here is > no acceptable conversion) > activex/wxactivex.cpp(1055) : er= ror C2678: binary '+' : no operator > defined which takes a left-hand o= perand of type 'char [42]' (or there is > no acceptable conversion) > = activex/wxactivex.cpp(1056) : error C2679: binary '+=3D' : no operator =0D = > defined which takes a right-hand operand of type 'char [20]' (or there = > is no acceptable conversion) > activex/wxactivex.cpp(1060) : error C= 2679: binary '+=3D' : no operator > defined which takes a right-hand op= erand of type 'char [3]' (or there is > no acceptable conversion) > ac= tivex/wxactivex.cpp(1289) : error C2440: 'initializing' : cannot > conv= ert from 'char [1]' to 'class wxString' > No constructor could = take the source type, or constructor > overload resolution was ambiguou= s > activex/wxactivex.cpp(1298) : error C2440: 'initializing' : cannot =0D = > convert from 'char [1]' to 'class wxString' > No constructor = could take the source type, or constructor > overload resolution was am= biguous > activex/wxactivex.cpp(1308) : error C2440: 'initializing' : ca= nnot > convert from 'char [1]' to 'class wxString' > No const= ructor could take the source type, or constructor > overload resolution= was ambiguous > activex/wxactivex.cpp(1334) : error C2440: 'initializin= g' : cannot > convert from 'char [1]' to 'class wxString' > N= o constructor could take the source type, or constructor > overload res= olution was ambiguous > activex/wxactivex.cpp(1377) : error C2679: binar= y '<<' : no operator > defined which takes a right-hand operand of type= 'char [11]' (or there > is no acceptable conversion) > activex/wxacti= vex.cpp(1406) : error C2679: binary '<<' : no operator > defined which = takes a right-hand operand of type 'char [9]' (or there is > no accepta= ble conversion) > activex/wxactivex.cpp(1437) : error C2679: binary '<<'= : no operator > defined which takes a right-hand operand of type 'char= [11]' (or there > is no acceptable conversion) > activex/wxactivex.cp= p(1474) : error C2679: binary '<<' : no operator > defined which takes = a right-hand operand of type 'char [11]' (or there > is no acceptable c= onversion) > activex/wxactivex.cpp(2646) : error C2664: 'FormatMessageW'= : cannot > convert parameter 5 from 'char [256]' to 'unsigned short *'= > Types pointed to are unrelated; conversion requires > rein= terpret_cast, C-style cast or function-style cast > activex/wxactivex.cp= p(2650) : error C2679: binary '=3D' : no operator > defined which takes= a right-hand operand of type 'char [256]' (or there > is no acceptable= conversion) > activex/wxactivex.cpp(2664) : error C2664: '__thiscall =0D = > wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' t= o > 'int' > This conversion requires a reinterpret_cast, a C-= style cast or > function-style cast > activex/wxactivex.cpp(2667) : er= ror C2664: '__thiscall > wxString::wxString(int)' : cannot convert para= meter 1 from 'char [65]' > to 'int' > This conversion require= s a reinterpret_cast, a C-style cast or > function-style cast > active= x/wxactivex.cpp(2670) : error C2664: '__thiscall > wxString::wxString(i= nt)' : cannot convert parameter 1 from 'char [107]' > to 'int' > = This conversion requires a reinterpret_cast, a C-style cast or > fu= nction-style cast > activex/wxactivex.cpp(2673) : error C2664: '__thisca= ll > wxString::wxString(int)' : cannot convert parameter 1 from 'char [= 61]' > to 'int' > This conversion requires a reinterpret_cast= , a C-style cast or > function-style cast > activex/wxactivex.cpp(2676= ) : error C2664: '__thiscall > wxString::wxString(int)' : cannot conver= t parameter 1 from 'char [124]' > to 'int' > This conversion = requires a reinterpret_cast, a C-style cast or > function-style cast=0D = > activex/wxactivex.cpp(2679) : error C2664: '__thiscall > wxString::wx= String(int)' : cannot convert parameter 1 from 'char [115]' > to 'int'=0D = > This conversion requires a reinterpret_cast, a C-style cast or= > function-style cast > activex/wxactivex.cpp(2682) : error C2664: '_= _thiscall > wxString::wxString(int)' : cannot convert parameter 1 from = 'char [162]' > to 'int' > This conversion requires a reinterp= ret_cast, a C-style cast or > function-style cast > activex/wxactivex.= cpp(2685) : error C2664: '__thiscall > wxString::wxString(int)' : canno= t convert parameter 1 from 'char [34]' > to 'int' > This conv= ersion requires a reinterpret_cast, a C-style cast or > function-style = cast > activex/wxactivex.cpp(2688) : error C2664: '__thiscall > wxStri= ng::wxString(int)' : cannot convert parameter 1 from 'char [164]' > to = 'int' > This conversion requires a reinterpret_cast, a C-style = cast or > function-style cast > activex/wxactivex.cpp(2691) : error C2= 664: '__thiscall > wxString::wxString(int)' : cannot convert parameter = 1 from 'char [89]' > to 'int' > This conversion requires a re= interpret_cast, a C-style cast or > function-style cast > activex/wxac= tivex.cpp(2694) : error C2664: '__thiscall > wxString::wxString(int)' := cannot convert parameter 1 from 'char [86]' > to 'int' > Thi= s conversion requires a reinterpret_cast, a C-style cast or > function-= style cast > activex/wxactivex.cpp(2697) : error C2664: '__thiscall > = wxString::wxString(int)' : cannot convert parameter 1 from 'char [79]' =0D = > to 'int' > This conversion requires a reinterpret_cast, a C-s= tyle cast or > function-style cast > activex/wxactivex.cpp(2700) : err= or C2664: '__thiscall > wxString::wxString(int)' : cannot convert param= eter 1 from 'char [93]' > to 'int' > This conversion requires= a reinterpret_cast, a C-style cast or > function-style cast > activex= /wxactivex.cpp(2703) : error C2664: '__thiscall > wxString::wxString(in= t)' : cannot convert parameter 1 from 'char [48]' > to 'int' > = This conversion requires a reinterpret_cast, a C-style cast or > func= tion-style cast > activex/wxactivex.cpp(2706) : error C2664: '__thiscall= > wxString::wxString(int)' : cannot convert parameter 1 from 'char [13= ]' > to 'int' > This conversion requires a reinterpret_cast, = a C-style cast or > function-style cast > activex/wxactivex.cpp(2709) = : error C2664: '__thiscall > wxString::wxString(int)' : cannot convert = parameter 1 from 'char [14]' > to 'int' > This conversion req= uires a reinterpret_cast, a C-style cast or > function-style cast > ac= tivex/wxactivex.cpp(2712) : error C2664: '__thiscall > wxString::wxStri= ng(int)' : cannot convert parameter 1 from 'char [14]' > to 'int' > = This conversion requires a reinterpret_cast, a C-style cast or =0D = > function-style cast > activex/wxactivex.cpp(2715) : error C2664: '__th= iscall > wxString::wxString(int)' : cannot convert parameter 1 from 'ch= ar [13]' > to 'int' > This conversion requires a reinterpret_= cast, a C-style cast or > function-style cast > activex/wxactivex.cpp(= 2718) : error C2664: '__thiscall > wxString::wxString(int)' : cannot co= nvert parameter 1 from 'char [18]' > to 'int' > This conversi= on requires a reinterpret_cast, a C-style cast or > function-style cast= > activex/wxactivex.cpp(2721) : error C2664: '__thiscall > wxString::= wxString(int)' : cannot convert parameter 1 from 'char [7]' to > 'int'=0D = > This conversion requires a reinterpret_cast, a C-style cast or= > function-style cast > activex/wxactivex.cpp(2724) : error C2664: '_= _thiscall > wxString::wxString(int)' : cannot convert parameter 1 from = 'char [10]' > to 'int' > This conversion requires a reinterpr= et_cast, a C-style cast or > function-style cast > activex/wxactivex.c= pp(2730) : error C2440: 'type cast' : cannot convert > from 'char [64]'= to 'class wxString' > No constructor could take the source typ= e, or constructor > overload resolution was ambiguous > activex/wxacti= vex.cpp(2864) : error C2664: '__thiscall > wxString::wxString(int)' : c= annot convert parameter 1 from 'char [22]' > to 'int' > This = conversion requires a reinterpret_cast, a C-style cast or > function-st= yle cast > ActiveX.xs(206) : error C2664: 'LoadLibrary' : cannot convert= parameter > 1 from 'char [4]' to 'const unsigned short *' > = Types pointed to are unrelated; conversion requires > reinterpret_cast,= C-style cast or function-style cast > activex/IEHtmlWin.cpp(315) : erro= r C2664: 'struct tagVARIANT __thiscall > wxActiveX::CallMethod(class wx= String,struct tagVARIANT [],int)' : cannot > convert parameter 1 from '= char [7]' to 'class wxString' > No constructor could take the s= ource type, or constructor > overload resolution was ambiguous > activ= ex/IEHtmlWin.cpp(411) : error C2664: '__thiscall > wxString::wxString(i= nt)' : cannot convert parameter 1 from 'char [1]' to > 'int' > = This conversion requires a reinterpret_cast, a C-style cast or > func= tion-style cast > activex/IEHtmlWin.cpp(421) : error C2664: '__thiscall = > wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]'= to > 'int' > This conversion requires a reinterpret_cast, a = C-style cast or > function-style cast > activex/IEHtmlWin.cpp(432) : e= rror C2664: '__thiscall > wxString::wxString(int)' : cannot convert par= ameter 1 from 'char [1]' to > 'int' > This conversion require= s a reinterpret_cast, a C-style cast or > function-style cast > active= x/IEHtmlWin.cpp(438) : error C2664: '__thiscall > wxString::wxString(in= t)' : cannot convert parameter 1 from 'char [1]' to > 'int' > = This conversion requires a reinterpret_cast, a C-style cast or > funct= ion-style cast > activex/IEHtmlWin.cpp(445) : error C2664: '__thiscall =0D = > wxString::wxString(int)' : cannot convert parameter 1 from 'char [1]' t= o > 'int' > This conversion requires a reinterpret_cast, a C-= style cast or > function-style cast > activex/IEHtmlWin.cpp(451) : err= or C2664: '__thiscall > wxString::wxString(int)' : cannot convert param= eter 1 from 'char [1]' to > 'int' > This conversion requires = a reinterpret_cast, a C-style cast or > function-style cast > activex/= IEHtmlWin.cpp(463) : error C2664: '__thiscall > wxString::wxString(int)= ' : cannot convert parameter 1 from 'char [1]' to > 'int' > T= his conversion requires a reinterpret_cast, a C-style cast or > functio= n-style cast > > > -------------------------------------------------= ------ > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blan= k Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only = $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.=0D = > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > ____________= ___________________________________ > wxperl-users mailing list > wxper= l-...@li... > https://lists.sourceforge.net/lists/list= info/wxperl-users > |
From: Simon F. <sf...@fl...> - 2004-08-23 10:56:20
Attachments:
wx_activex_unicode.diff
|
On Mon, 23 Aug 2004 12:36:26 +0200, mattia\.barbon\@libero\.it wrote > > Hello, > > > > I just tried to install Wx::ActiveX 0.05 and failed. The situation is as > > follows: > > > > wxWidgets 2.4.2 compiled with UNICODE=1 and MSLU=1 > > wxPerl 0.18 (of course with Unicode enabled) > > ActiveState Perl 5.8.3 > > MS VC6 > > > > Below is the output that I got, does anyone have an idea how to solve it? > > I sent a patch to Graciliano about this. I can't send it to you > right now, but it mostly consisted in adding _T("") around strings that > did not have it. So did I. (attached). I have your patch here somewhere - I think you used wxT() rather than _T(). --simonflk |