iCAx开思工具箱

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 25880|回复: 4
打印 上一主题 下一主题

询问一个CAA的错误提示

[复制链接]
跳转到指定楼层
楼主
发表于 2004-9-6 12:59:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
以前是只要insert一个CATDialog之后
不做任何回调
就会提示错误 
  
现在只是新建了一个工具条和按钮
但是在响应函数中添加了一个CATDlgNotify测试一下
结果编译就出现问题了
添加的是:
CAACafSearchCmd::CAACafSearchCmd() :
CATCommand (NULL, "CAACafSearchCmd")
{
CATApplicationFrame *pApplication = CATApplicationFrame::GetFrame();  
 if (NULL != pApplication) {      
  CATDlgWindow * pMainWindow = pApplication->GetMainWindow();
   CATDlgNotify *pNotifyDlg = new CATDlgNotify
     (pMainWindow, "MyButtonAccess", CATDlgNfyOK);
   if (NULL != pNotifyDlg) {
pNotifyDlg->DisplayBlocked
("message displayed ","Title");
  pNotifyDlg->RequestDelayedDestruction();  
  }
    }
RequestDelayedDestruction();
}
提示的错误是:
  make: MyAddinButton\MyDrawButton.m intel_a\code\bin\MyDrawButton.dll
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall CATDialog::GetResourceFilename(int)const " (?GetResourceFilename@CATDialog@@UBEPADH@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CATDlgNotify::ResetLetterObject(void)" (?ResetLetterObject@CATDlgNotify@@UAEXXZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual class l_CATDialog * __thiscall CATDlgNotify::GetLetterObject(void)" (?GetLetterObject@CATDlgNotify@@UAEPAVl_CATDialog@@XZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CATDialog::RestoreState(class CATNotification *,class CATMarshal &)" (?RestoreState@CATDialog@@UAEHPAVCATNotification@@AAVCATMarshal@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CATDialog::SaveState(class CATNotification *,class CATMarshal &)" (?SaveState@CATDialog@@UAEHPAVCATNotification@@AAVCATMarshal@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual enum CATStatusChangeRC __thiscall CATDialog::Cancel(class CATCommand *,class CATNotification *)" (?Cancel@CATDialog@@UAE?AW4CATStatusChangeRC@@PAVCATCommand@@PAVCATNotification@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual enum CATStatusChangeRC __thiscall CATDialog::Desactivate(class CATCommand *,class CATNotification *)" (?Desactivate@CATDialog@@UAE?AW4CATStatusChangeRC@@PAVCATCommand@@PAVCATNotification@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual enum CATStatusChangeRC __thiscall CATDialog::Activate(class CATCommand *,class CATNotification *)" (?Activate@CATDialog@@UAE?AW4CATStatusChangeRC@@PAVCATCommand@@PAVCATNotification@@@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual class CATString & __thiscall CATDialog::GetName(void)" (?GetName@CATDialog@@UAEAAVCATString@@XZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CATDlgNotify::IsAKindOf(char const *)const " (?IsAKindOf@CATDlgNotify@@UBEHPBD@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall CATDlgNotify::IsA(void)const " (?IsA@CATDlgNotify@@UBEPBDXZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "public: virtual class CATMetaClass * __stdcall CATDlgNotify::GetMetaObject(void)const " (?GetMetaObject@CATDlgNotify@@UBGPAVCATMetaClass@@XZ)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall CATDlgNotify::DisplayBlocked(class CATUnicodeString const &,class CATUnicodeString const &)" (__imp_?DisplayBlocked@CATDlgNotify@@QAEHABVCATUnicodeString@@0@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall CATDlgNotify::CATDlgNotify(class CATDialog *,class CATString const &,unsigned long)" (__imp_??0CATDlgNotify@@QAE@PAVCATDialog@@ABVCATString@@K@Z)
CAACafSearchCmd.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall CATDlgNotify::~CATDlgNotify(void)" (__imp_??1CATDlgNotify@@UAE@XZ)
E:\hcl\temp\HechaoliangAddin\.\intel_a\code\bin\MyDrawButton.dll : fatal error LNK1120: 15 unresolved externals
# make-ERROR: intel_a\code\bin\MyDrawButton.dll
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 支持支持
沙发
 楼主| 发表于 2004-9-6 13:05:06 | 只看该作者

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
板凳
 楼主| 发表于 2004-9-6 13:09:22 | 只看该作者

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
地板
发表于 2004-9-6 13:16:08 | 只看该作者

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
5
 楼主| 发表于 2004-9-6 15:42:53 | 只看该作者

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手板模型制作,在线3D打印服务

QQ|小黑屋|手机版|开思工具箱 CAD工具箱_CAM工具箱  

GMT+8, 2024-11-23 20:22 , Processed in 0.012021 second(s), 7 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2024 www.iCAx.org

快速回复 返回顶部 返回列表