Im trying to compile the cppolapdemo sample and I cant figure out theses errors.

--------------------Configuration: olapdemo - Win32 Debug--------------------

Command Lines
Creating temporary file "C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\RSP8.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D _WIN32_WINNT>=0x0500 /Fp"Debug/olapdemo.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olapapp.cpp"
"C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\RSP8.tmp"
Creating temporary file "C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\RSP9.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/olapdemo.pdb" /debug /machine:I386 /out:"Debug/olapdemo.exe" /pdbtype:sept
".\Debug\olapapp.obj"
".\Debug\olapdemo.obj"
".\Debug\olaptab.obj"
]
Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\RSP9.tmp"
Output Window
Compiling...
olapapp.cpp
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olapapp.cpp(125) : error C2664: 'SysAllocString' : cannot convert parameter 1 from 'char *' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olapapp.cpp(274) : error C2664: 'SysAllocString' : cannot convert parameter 1 from 'char *' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olapapp.cpp(314) : error C2664: 'SetCommandText' : cannot convert parameter 2 from 'char *' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
olaptab.cpp
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(162) : error C2664: 'PrintColumnString' : cannot convert parameter 2 from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(600) : error C2664: 'GetColumnInfo' : cannot convert parameter 3 from 'char ** ' to 'unsigned short ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(617) : error C2664: 'strlen' : cannot convert parameter 1 from 'unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(635) : error C2664: 'PrintColumnCaption' : cannot convert parameter 3 from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(678) : error C2664: 'strlen' : cannot convert parameter 1 from 'unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(800) : error C2664: 'GetColumnInfo' : cannot convert parameter 3 from 'char ** ' to 'unsigned short ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(816) : error C2664: 'strlen' : cannot convert parameter 1 from 'unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(835) : error C2664: 'PrintColumnCaption' : cannot convert parameter 3 from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(878) : error C2664: 'strlen' : cannot convert parameter 1 from 'unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Arquivos de programas\Microsoft Analysis Services\Samples\CppOlapDemo\olaptab.cpp(1144) : error C2664: 'PrintColumnCaption' : cannot convert parameter 3 from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.