|
vlado_036
Član broj: 108868 Poruke: 8 *.ptt.yu.
|
Evo gresaka
stmt.cpp(115) : error C2664: 'SQLExecDirectW' : cannot convert parameter 2 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
stmt.cpp(202) : error C2664: 'SQLPrepareW' : cannot convert parameter 2 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
stmt.cpp(509) : error C2664: 'SQLDescribeColW' : cannot convert parameter 3 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
stmt.cpp(742) : error C2664: 'GetDateFormatW' : cannot convert parameter 5 from 'char [1024]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
stmt.cpp(755) : error C2664: 'GetDateFormatW' : cannot convert parameter 5 from 'char [1024]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
stmt.cpp(759) : error C2664: 'GetTimeFormatW' : cannot convert parameter 5 from 'char *' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
stmt.cpp(879) : error C2664: 'SQLErrorW' : cannot convert parameter 4 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
stmt.cpp(1022) : warning C4018: '<' : signed/unsigned mismatch
stmt.cpp(1039) : warning C4018: '<' : signed/unsigned mismatch
stmt.cpp(1088) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
stmt.cpp(1300) : error C2664: 'SQLNativeSqlW' : cannot convert parameter 2 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Columns.cpp
columns.cpp(68) : error C2664: 'SQLColumnsW' : cannot convert parameter 2 from 'UCHAR *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
columns.cpp(117) : error C2664: 'ATL::CStringT<BaseType,StringTraits>::CStringT(const VARIANT &)' : cannot convert parameter 1 from 'const char [2]' to 'const VARIANT &'
with
[
BaseType=wchar_t,
StringTraits=StrTraitMFC<wchar_t>
]
Reason: cannot convert from 'const char [2]' to 'const VARIANT'
No constructor could take the source type, or constructor overload resolution was ambiguous
connect.cpp
connect.cpp(44) : error C2664: 'SQLConnectW' : cannot convert parameter 2 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
connect.cpp(78) : error C2664: 'SQLDriverConnectW' : cannot convert parameter 3 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
connect.cpp(126) : error C2664: 'SQLErrorW' : cannot convert parameter 4 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
connect.cpp(288) : error C2664: 'SQLTablesW' : cannot convert parameter 6 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
connect.cpp(313) : error C2664: 'SQLColumnsW' : cannot convert parameter 6 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
connect.cpp(339) : error C2664: 'SQLDataSourcesW' : cannot convert parameter 3 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
connect.cpp(352) : error C2664: 'SQLDataSourcesW' : cannot convert parameter 3 from 'unsigned char *' to 'SQLWCHAR *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp
cur.cpp(41) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
cur.cpp(42) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
cur.cpp(43) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : see declaration of 'strcat'
cur.cpp(49) : error C2664: 'GetTempPathW' : cannot convert parameter 2 from 'char [260]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(50) : error C2664: 'GetTempFileNameW' : cannot convert parameter 1 from 'char [260]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(325) : error C2664: 'GetTempPathW' : cannot convert parameter 2 from 'char [260]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(326) : error C2664: 'GetTempFileNameW' : cannot convert parameter 1 from 'char [260]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(451) : error C2664: 'DeleteFileW' : cannot convert parameter 1 from 'char [260]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(453) : error C2664: 'DeleteFileW' : cannot convert parameter 1 from 'char [260]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(584) : error C2664: 'GetDateFormatW' : cannot convert parameter 5 from 'char [1024]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(597) : error C2664: 'GetDateFormatW' : cannot convert parameter 5 from 'char [1024]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(601) : error C2664: 'GetTimeFormatW' : cannot convert parameter 5 from 'char *' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
cur.cpp(772) : warning C4018: '<' : signed/unsigned mismatch
cur.cpp(935) : warning C4018: '<' : signed/unsigned mismatch
cur.cpp(1033) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
curex.cpp
curex.cpp(19) : error C2664: 'LoadStringW' : cannot convert parameter 3 from 'char [256]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
curex.cpp(28) : error C2664: 'LoadStringW' : cannot convert parameter 3 from 'char [256]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
curex.cpp(38) : error C2664: 'LoadStringW' : cannot convert parameter 3 from 'char [256]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
excpt.cpp
excpt.cpp(23) : error C2664: 'LoadStringW' : cannot convert parameter 3 from 'char [256]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
|