Hello,
I got problem compiling WIN32OLE.PRG under MSVS 2010 (Beta2) as follows:
-- begin --
CL /D_CRT_SECURE_NO_DEPRECATE /MT /DHB_GUI /c /TP /Ot2yb1 /EHsc /GA /Gs /W3
/nologo /DWIN32 /D_WIN32 /D__WIN32__ /DHB_FM_WIN32_ALLOC /DHB_API_MACROS
/DHB_STACK_MACROS /D_HB_API_INTERNAL_ /I"obj\VC10" /I"include"
/I"..\VC10\include" /I"source\rtl\zlib" /I"contrib\hbzlib\include"
/I"contrib\png" /I"contrib\hbhpdf" /I"..\openssl\include"
/Foobj\VC10\win32ole.obj obj\VC10\win32ole.c
win32ole.c
..\VC10\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
..\VC10\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
..\VC10\include\shobjidl.h(32807) : error C3861: 'IID_PPV_ARGS': identifier not
found
..\VC10\include\shobjidl.h(32810) : error C2039: 'LoadLibraryFromItem' : is not
a member of 'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32813) : error C2039: 'QueryInterface' : is not a
member of 'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32815) : error C2039: 'Release' : is not a member of
'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32824) : error C3861: 'IID_PPV_ARGS': identifier not
found
..\VC10\include\shobjidl.h(32827) : error C2039: 'LoadLibraryFromKnownFolder' :
is not a member of 'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32830) : error C2039: 'QueryInterface' : is not a
member of 'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32832) : error C2039: 'Release' : is not a member of
'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32841) : error C3861: 'IID_PPV_ARGS': identifier not
found
..\VC10\include\shobjidl.h(32845) : error C2039: 'Release' : is not a member of
'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
..\VC10\include\shobjidl.h(32853) : error C3861: 'IID_PPV_ARGS': identifier not
found
..\VC10\include\shobjidl.h(32856) : error C2039: 'AddFolder' : is not a member
of 'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32857) : error C2039: 'Release' : is not a member of
'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
..\VC10\include\shobjidl.h(32869) : error C3861: 'IID_PPV_ARGS': identifier not
found
..\VC10\include\shobjidl.h(32872) : error C2039: 'RemoveFolder' : is not a
member of 'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32873) : error C2039: 'Release' : is not a member of
'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
..\VC10\include\shobjidl.h(32888) : error C3861: 'IID_PPV_ARGS': identifier not
found
..\VC10\include\shobjidl.h(32892) : error C2039: 'ResolveFolder' : is not a
member of 'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32892) : error C3861: 'IID_PPV_ARGS': identifier not
found
..\VC10\include\shobjidl.h(32895) : error C2039: 'GetDisplayName' : is not a
member of 'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
..\VC10\include\shobjidl.h(32896) : error C2039: 'Release' : is not a member of
'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
..\VC10\include\shobjidl.h(32898) : error C2039: 'Release' : is not a member of
'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
..\VC10\include\shobjidl.h(32913) : error C3861: 'IID_PPV_ARGS': identifier not
found
..\VC10\include\shobjidl.h(32917) : error C2039: 'Save' : is not a member of
'IShellLibrary'
..\VC10\include\shobjidl.h(32237) : see declaration of 'IShellLibrary'
..\VC10\include\shobjidl.h(32922) : error C2039: 'GetDisplayName' : is not a
member of 'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
..\VC10\include\shobjidl.h(32924) : error C2039: 'Release' : is not a member of
'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
..\VC10\include\shobjidl.h(32926) : error C2039: 'Release' : is not a member of
'IShellItem'
..\VC10\include\shobjidl.h(8848) : see declaration of 'IShellItem'
-- end --
Help is appreciated.
Thanks.
--
Andi
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers