提示:
=====================
命令行 正在创建临时文件“g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\RSP000004.rsp”,其内容为
[
/Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_AFXDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Zc:wchar_t /Yu"stdafx.h" /Fp"Debug/zhuanhuan.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
.\zhuanhuanDlg.cpp
.\zhuanhuan.cpp
]
正在创建命令行“cl.exe @g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\RSP000004.rsp /nologo”
正在创建命令行“rc.exe /d "_DEBUG" /d "_AFXDLL" /l 0x804 /I "Debug" /fo"Debug/zhuanhuan.res" .\zhuanhuan.rc”
正在创建临时文件“g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\RSP000005.rsp”,其内容为
[
/OUT:"Debug/zhuanhuan.exe" /INCREMENTAL /NOLOGO /DEBUG /PDB:"Debug/zhuanhuan.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86
.\debug\stdafx.obj
.\debug\zhuanhuan.obj
.\debug\zhuanhuanDlg.obj
.\debug\zhuanhuan.res
]
正在创建命令行“link.exe @g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\RSP000005.rsp” 输出窗口 正在编译...
zhuanhuanDlg.cpp
zhuanhuan.cpp
正在生成代码...
正在编译资源...
正在链接...
zhuanhuan.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CConvertDlg::CConvertDlg(class CWnd *)" (??0CConvertDlg@@QAE@PAVCWnd@@@Z) ,该符号在函数 "public: virtual int __thiscall CConvertApp::InitInstance(void)" (?InitInstance@CConvertApp@@UAEHXZ) 中被引用
zhuanhuanDlg.obj : error LNK2001: 无法解析的外部符号 "public: void __thiscall CConvertDlg::OnEnChangeEdit(void)" (?OnEnChangeEdit@CConvertDlg@@QAEXXZ)
Debug/zhuanhuan.exe : fatal error LNK1120: 2 个无法解析的外部命令
结果 生成日志保存在“file://g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\BuildLog.htm”中
zhuanhuan - 3 错误,0 警告
程序就是简单的一个单位直接的转换啊。
=====================
命令行 正在创建临时文件“g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\RSP000004.rsp”,其内容为
[
/Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_AFXDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Zc:wchar_t /Yu"stdafx.h" /Fp"Debug/zhuanhuan.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
.\zhuanhuanDlg.cpp
.\zhuanhuan.cpp
]
正在创建命令行“cl.exe @g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\RSP000004.rsp /nologo”
正在创建命令行“rc.exe /d "_DEBUG" /d "_AFXDLL" /l 0x804 /I "Debug" /fo"Debug/zhuanhuan.res" .\zhuanhuan.rc”
正在创建临时文件“g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\RSP000005.rsp”,其内容为
[
/OUT:"Debug/zhuanhuan.exe" /INCREMENTAL /NOLOGO /DEBUG /PDB:"Debug/zhuanhuan.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86
.\debug\stdafx.obj
.\debug\zhuanhuan.obj
.\debug\zhuanhuanDlg.obj
.\debug\zhuanhuan.res
]
正在创建命令行“link.exe @g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\RSP000005.rsp” 输出窗口 正在编译...
zhuanhuanDlg.cpp
zhuanhuan.cpp
正在生成代码...
正在编译资源...
正在链接...
zhuanhuan.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CConvertDlg::CConvertDlg(class CWnd *)" (??0CConvertDlg@@QAE@PAVCWnd@@@Z) ,该符号在函数 "public: virtual int __thiscall CConvertApp::InitInstance(void)" (?InitInstance@CConvertApp@@UAEHXZ) 中被引用
zhuanhuanDlg.obj : error LNK2001: 无法解析的外部符号 "public: void __thiscall CConvertDlg::OnEnChangeEdit(void)" (?OnEnChangeEdit@CConvertDlg@@QAEXXZ)
Debug/zhuanhuan.exe : fatal error LNK1120: 2 个无法解析的外部命令
结果 生成日志保存在“file://g:\MyDoc\MyApps\Vc\zhuanhuan\Debug\BuildLog.htm”中
zhuanhuan - 3 错误,0 警告
程序就是简单的一个单位直接的转换啊。
解决方案 »
- 亲们我想知道这个界面的那一部分怎么实现?
- VC++访问Oracle数据库问题
- 如何用WaitForMultipleObjects监测某个事件的超时
- MFC链接数据库问题
- 请教朋友:java,v#和vc程序员现在在需求量上谁大,以后呢?
- dllA中动态调另外一个dllB,在调用了dllB中的函数后,就无法用return返回数据了,请教!!见代码。
- 小弟最近想做一个大学排课的软件,请教诸位大虾算法如何实现 多谢了
- ***********关于LoadCursor和SetCusor得简单问题.**********
- 如何快速解析XML文档(7M),高分求救!!!
- 关于bho注册的问题
- 请教高手,怎么将*.bmp格式的文件转化为*.ico,我指的是用什么工具,去转换?
- CListBox使用ADDSTRING函数的问题
CConvertDlg::CConvertDlg(CWnd* pParent /*=NULL*/)
: CDialog(CConvertDlg::IDD, pParent)
, m_dbNumber(_T(""))
, m_result(_T(""))
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
//#pragma once
#include "afxwin.h"
// CConvertDlg 对话框
class CConvertDlg : public CDialog
{
// 构造
public:
CConvertDlg(CWnd* pParent = NULL); // 标准构造函数// 对话框数据
enum { IDD = IDD_CONVERT_DIALOG }; protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon; // 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
// 静态控件
CStatic m_ref;
CButton m_length;
CButton m_weight;
CButton m_time;
double m_dbNumber;
CComboBox m_cbUnit1;
CListBox m_ItUnit2;
CString m_result;
afx_msg void OnBnClickedButtonEqual();
afx_msg void OnCbnSelchangeCombo1Unit1();
afx_msg void OnLbnSelchangeList1Unit2();
afx_msg void OnBnClickedRadioLength();
afx_msg void OnBnClickedRadioTime();
afx_msg void OnBnClickedRadioWeight();
};
急啊~!急啊~!急啊~!急啊~!急啊~!急啊~!急啊~!急啊~!急啊~!急啊~!
CConvertDlg::CConvertDlg(CWnd* pParent /*=NULL*/)
: CDialog(CConvertDlg::IDD, pParent)
, m_dbNumber(0) //修改了这里
, m_result(_T(""))
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}