Hi Peter, Yes, I did see your following post, but since this change is not needed for prior VC versions, and yet it's the exact same error solved by Paul's fix, I suppose it would be better if he reviewed this.
Ron -------------------------------------------------- From: "Peter Rees" <pe...@rees.co.nz> Sent: Monday, May 24, 2010 2:07 PM Cc: "'Xharbour-Developers List'" <xharbour-developers@lists.sourceforge.net> Subject: Re: [xHarbour-developers] Error building xHarbour with vc++ 10.0 > Hi Ron, > > I have got it working ok by commenting out CPLUSPLUS=1 at line 32 in the > makefile.vc. > > I noted other instances of CPLUSPLUS=1 further on in the makefile.vc but > I am only using ST version of xHarbour and no other contribs, ads etc... > so don't know if they need commenting. > > The other change I made for building xHarbour on Windows 7 64 is to > make_vc.bat. On Win64 the ProgramFiles envar points to the 64 bit > program files folder so it needed to be pointed to the 32 bit program > files (x86) folder > > Regards > > Peter > > > > > > > > > > > > On 25/05/2010 1:08 a.m., Ron Pinkas wrote: >> Peter, >> >> The Win32Ole.prg issue involves some known bug in MS header files, and >> for few years we used to make available corrected header files, but >> later Paul applied some change to our sources which circumvented that >> bug. It's possible that the modification is conditional to specific >> version[s] of MSVC thus not covering the latest VS 2010. >> >> Paul can you please review? >> >> Ron >> >> -------------------------------------------------- >> From: "Peter Rees" <pe...@rees.co.nz> >> Sent: Saturday, May 15, 2010 4:44 AM >> To: "'Xharbour-Developers List'" >> <xharbour-developers@lists.sourceforge.net> >> Subject: [xHarbour-developers] Error building xHarbour with vc++ 10.0 >> >>> >>> We are looking at switching from Bcc55 to VC 10.0. With VC 10.0 when >>> building xHarbour using make_vc.bat it gets as far as building >>> win32ole.c (from rtl/win32ole.prg) and the below errors are thrown. >>> >>> Anyone know how to solve this? I'm building on Win 7 64bit ultimate - >>> using 32bit compiler >>> >>> Thanks >>> >>> Peter >>> >>> >>> CL -TP -c -Oty1 -FD -GA -Gs -W3 -nologo -Iinclude -Iobj\vc >>> -I"C:\Program Files (x86)\Microsoft Visual Studio 10.0\vc\include" >>> -Foobj\vc\win32ole.obj obj\vc\win32ole.c >>> win32ole.c >>> C:\Program Files (x86)\Microsoft >>> SDKs\Windows\v7.0A\include\propkeydef.h(32) : error C2664: 'IsEqualGUID' >>> : cannot convert parameter 1 from 'const GUID' to 'const GUID *const ' >>> No user-defined-conversion operator available that can perform >>> this conversion, or the operator cannot be called >>> C:\Program Files (x86)\Microsoft >>> SDKs\Windows\v7.0A\include\shobjidl.h(32800) : error C2664: >>> 'CoCreateInstance' : cannot convert parameter 1 from 'const CLSID' to >>> 'const IID *const ' >>> No user-defined-conversion operator available that can perform >>> this conversion, or the operator cannot be called >>> C:\Program Files (x86)\Microsoft >>> SDKs\Windows\v7.0A\include\shobjidl.h(32807) : error C3861: >>> 'IID_PPV_ARGS': identifier not found >>> C:\Program Files (x86)\Microsoft >>> SDKs\Windows\v7.0A\include\shobjidl.h(32810) : error C2039: >>> 'LoadLibraryFromItem' : is not a member of 'IShellLibrary' >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> xHarbour-developers mailing list >>> xHarbour-developers@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/xharbour-developers >>> >> >> > > ------------------------------------------------------------------------------ > > _______________________________________________ > xHarbour-developers mailing list > xHarbour-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > ------------------------------------------------------------------------------ _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers