我用的VC 6.0
不是说修改什么设置就行么?求教如何处理和修改。谢谢。
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1459) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1463) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1504) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1512) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1520) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1528) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1536) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1614) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1671) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1694) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1732) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1759) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1783) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1806) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1829) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1967) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1972) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3277) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3285) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3293) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
不是说修改什么设置就行么?求教如何处理和修改。谢谢。
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1459) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1463) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1504) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1512) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1520) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1528) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1536) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1614) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1671) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1694) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1732) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1759) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1783) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1806) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1829) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1967) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(1972) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3277) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3285) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3293) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3309) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3399) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3456) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3479) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3517) : error C2664: 'int __thiscall CString::Find(char) const' : cannot convert parameter 1 from 'unsigned short [2]' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3547) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3571) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3594) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3617) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3768) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3773) : error C2664: 'void __cdecl CString::Format(const char *,...)' : cannot convert parameter 1 from 'unsigned short [3]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(3970) : error C2664: 'wcstombs' : cannot convert parameter 2 from 'class CString' to 'const unsigned short *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(4022) : warning C4244: '=' : conversion from 'double' to 'unsigned char', possible loss of data
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(4095) : error C2664: 'wcstod' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(4096) : error C2664: 'wcstod' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
MyProjectDlg.cpp
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(139) : error C2664: 'int __thiscall CListCtrl::InsertColumn(int,const char *,int,int,int)' : cannot convert parameter 2 from 'unsigned short [6]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(140) : error C2664: 'int __thiscall CListCtrl::InsertColumn(int,const char *,int,int,int)' : cannot convert parameter 2 from 'unsigned short [9]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(186) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'unsigned short [7]'
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(331) : error C2664: 'SHGetPathFromIDListA' : cannot convert parameter 2 from 'unsigned short [260]' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(363) : error C2664: 'int __thiscall CListCtrl::InsertItem(int,const char *)' : cannot convert parameter 2 from 'unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(372) : error C2664: 'int __thiscall CListCtrl::InsertItem(int,const char *)' : cannot convert parameter 2 from 'unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(393) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'unsigned short [13]'
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(454) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'unsigned short [45]'
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(481) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'unsigned short [27]'
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(529) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'unsigned short [34]'
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(629) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'unsigned short [18]'
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(664) : error C2664: 'MessageBoxExA' : cannot convert parameter 3 from 'unsigned short [15]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(674) : error C2065: 'HIMETRIC_INCH' : undeclared identifier
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(708) : error C2664: 'MessageBoxExA' : cannot convert parameter 2 from 'unsigned short [32]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(724) : error C2664: 'MessageBoxExA' : cannot convert parameter 2 from 'unsigned short [37]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Generating Code...
Error executing cl.exe.MyProject.exe - 50 error(s), 1 warning(s)
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(4022) : warning C4244: '=' : conversion from 'double' to 'unsigned char', possible loss of data
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(4095) : error C2664: 'wcstod' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\LyhDicom.cpp(4096) : error C2664: 'wcstod' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
MyProjectDlg.cpp
C:\Documents and Settings\Administrator\桌面\培训\MFCTaskTwo\MyProjectDlg.cpp(951) : fatal error C1004: unexpected end of file found
Generating Code...
Error executing cl.exe.MyProject.exe - 4 error(s), 1 warning(s)
C1004: unexpected end of file found 这个错误一般都会是这个文件没有 #include "stdafx.h", 先检查这个有没有,再清理一下,再编译
{
CString csNew = "";
int nIndex = csValue.Find( '.' );
if( nIndex != -1 )
{
csNew = csValue.Left( nIndex + 3);
}
else
{
csNew = csValue;
}
char szValue[100];
wcstombs(szValue, csNew, 100 );
return atof(szValue);
}error C2664: 'wcstombs' : cannot convert parameter 2 from 'class CString' to 'const unsigned short *'void CLyhDicom::GetPixelDims(float* vx,float* vy)
{
wchar_t* stop_stirng;
*vx = (float)wcstod((LPCTSTR)m_stImgnData.csVoxelDimsx,&stop_stirng);
*vy = (float)wcstod((LPCTSTR)m_stImgnData.csVoxelDimsy,&stop_stirng);
}error C2664: 'wcstod' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'
error C2664: 'wcstod' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'
http://read.newbooks.com.cn/info/177124.html
再根据这个文件的设置提示,注意观察下你的工程的 Debug 与 Release 配置的区别。