Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - linker error CXtpAccessible
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

linker error CXtpAccessible

 Post Reply Post Reply
Author
Message
AkeT View Drop Down
Newbie
Newbie


Joined: 19 June 2007
Location: Thailand
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote AkeT Quote  Post ReplyReply Direct Link To This Post Topic: linker error CXtpAccessible
    Posted: 19 June 2007 at 1:53am

-I use EXtream toolkit pro2007 evaluation version  11.1.3 for vs2003
I try to integrate "PropertyGrid" to the application by
  #include <XTToolkitPro.h>   // Codejock Software Components at stdafx.h
I 've got the error shown below. Then I search some topic in this forum and change
 Properties->c/c++>Language->Treate wchar_t as Builtin Type =yes
the error is gone but I think these effect to the other source code of the my application
then I 've got another error

Acctually I want to use only "property grid". Would you please give me the solution
or the way to solve this problem?The application we need to modify is so huge. Can we have
the way to include it only the portion we want. I want to place property grid on Dialog Bar.
Now I can see it on DialogBar already if I don't use AddChildItem . But when I use
AddChildItem ,I will get the linker error as I told you above

 m_wndPropertyGrid.Create(CRect(10,40,rect.Width()-10,rect.Height()-80), this, 0);
 m_wndPropertyGrid.SetOwner(GetTopLevelFrame());
 HTREEITEM hItemCategory = m_wndProperties.InsertItem(_T("Common Properties"), I_IMAGECALLBACK , I_IMAGECALLBACK );
 CXTPPropertyGridItem* pCategoryApplication = m_wndPropertyGrid.AddCategory(_T("Application"));
 HTREEITEM hItem = m_wndProperties.InsertItem(_T("General"), I_IMAGECALLBACK, I_IMAGECALLBACK, hItemCategory);
 CString m_strAssemblyName = _T("WindowsApplication1");
 CString m_strOutputType = _T("Windows Application");
 CString m_strDefaultNamespace = _T("WindowsApplication1");

----------> pCategoryApplication->AddChildItem(new CXTPPropertyGridItem(_T("Assembly Name"), m_strAssemblyName, &m_strAssemblyName));


ERROR BEFORE changing properties
PropertyDialog.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::PutAccessibleValue(struct tagVARIANT,unsigned short *)" (?PutAccessibleValue@CXTPAccessible@@UAEJUtagVARIANT@@PAG@Z)
PropertyDialog.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::PutAccessibleName(struct tagVARIANT,unsigned short *)" (?PutAccessibleName@CXTPAccessible@@UAEJUtagVARIANT@@PAG@Z)
PropertyDialog.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::GetAccessibleDefaultAction(struct tagVARIANT,unsigned short * *)" (?GetAccessibleDefaultAction@CXTPAccessible@@UAEJUtagVARIANT@@PAPAG@Z)
PropertyDialog.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::GetAccessibleKeyboardShortcut(struct tagVARIANT,unsigned short * *)" (?GetAccessibleKeyboardShortcut@CXTPAccessible@@UAEJUtagVARIANT@@PAPAG@Z)
PropertyDialog.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::GetAccessibleHelpTopic(unsigned short * *,struct tagVARIANT,long *)" (?GetAccessibleHelpTopic@CXTPAccessible@@UAEJPAPAGUtagVARIANT@@PAJ@Z)
PropertyDialog.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::GetAccessibleHelp(struct tagVARIANT,unsigned short * *)" (?GetAccessibleHelp@CXTPAccessible@@UAEJUtagVARIANT@@PAPAG@Z)
PropertyDialog.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall CXTPPropertyGridItem::GetAccessibleDescription(struct tagVARIANT,unsigned short * *)" (?GetAccessibleDescription@CXTPPropertyGridItem@@MAEJUtagVARIANT@@PAPAG@Z)
PropertyDialog.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall CXTPPropertyGridItem::GetAccessibleValue(struct tagVARIANT,unsigned short * *)" (?GetAccessibleValue@CXTPPropertyGridItem@@MAEJUtagVARIANT@@PAPAG@Z)
PropertyDialog.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall CXTPPropertyGridItem::GetAccessibleName(struct tagVARIANT,unsigned short * *)" (?GetAccessibleName@CXTPPropertyGridItem@@MAEJUtagVARIANT@@PAPAG@Z)
.\Pro\Debug/i.exe : fatal error LNK1120: 9 unresolved externals

AFTER changing properties>> Treate wchar_t as Builtin Type =yes
Linking...
   Creating library .\Pro\Debug/i.lib and object .\Pro\Debug/i.exp
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall ATL::IDispatchImpl<struct i_AUTOMATION::IiPoint,&struct _GUID const i_AUTOMATION::IID_IiPoint,&struct _GUID const i_AUTOMATION::LIBID_Intelli,1,0,class ATL::CComTypeInfoHolder>::GetIDsOfNames(struct _GUID const &,wchar_t * *,unsigned int,unsigned long,long *)" (?GetIDsOfNames@?$IDispatchImpl@UIiPoint@i_AUTOMATION@@$1?IID_IiPoint@2@3U_GUID@@B$1?LIBID_Intelli@2@3U4@B$00$0A@VCComTypeInfoHolder@ATL@@@ATL@@UAGJABU_GUID@@PAPA_WIKPAJ@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall ATL::IDispatchImpl<struct i_AUTOMATION::IiPoints,&struct _GUID const i_AUTOMATION::IID_IiPoints,&struct _GUID const i_AUTOMATION::LIBID_Intelli,1,0,class ATL::CComTypeInfoHolder>::GetIDsOfNames(struct _GUID const &,wchar_t * *,unsigned int,unsigned long,long *)" (?GetIDsOfNames@?$IDispatchImpl@UIiPoints@i_AUTOMATION@@$1?IID_IiPoints@2@3U_GUID@@B$1?LIBID_Intelli@2@3U4@B$00$0A@VCComTypeInfoHolder@ATL@@@ATL@@UAGJABU_GUID@@PAPA_WIKPAJ@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall ATL::IDispatchImpl<struct i_AUTOMATION::IiVector,&struct _GUID const i_AUTOMATION::IID_IiVector,&struct _GUID const i_AUTOMATION::LIBID_Intelli,1,0,class ATL::CComTypeInfoHolder>::GetIDsOfNames(struct _GUID const &,wchar_t * *,unsigned int,unsigned long,long *)" (?GetIDsOfNames@?$IDispatchImpl@UIiVector@i_AUTOMATION@@$1?IID_IiVector@2@3U_GUID@@B$1?LIBID_Intelli@2@3U4@B$00$0A@VCComTypeInfoHolder@ATL@@@ATL@@UAGJABU_GUID@@PAPA_WIKPAJ@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall ATL::IDispatchImpl<struct i_AUTOMATION::IiMatrix,&struct _GUID const i_AUTOMATION::IID_IiMatrix,&struct _GUID const i_AUTOMATION::LIBID_Intelli,1,0,class ATL::CComTypeInfoHolder>::GetIDsOfNames(struct _GUID const &,wchar_t * *,unsigned int,unsigned long,long *)" (?GetIDsOfNames@?$IDispatchImpl@UIiMatrix@i_AUTOMATION@@$1?IID_IiMatrix@2@3U_GUID@@B$1?LIBID_Intelli@2@3U4@B$00$0A@VCComTypeInfoHolder@ATL@@@ATL@@UAGJABU_GUID@@PAPA_WIKPAJ@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::IsFunctionLoaded(wchar_t *,short *)" (?IsFunctionLoaded@CAutoApp@@UAGJPA_WPAF@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::GetInterfaceObject(wchar_t *,struct IDispatch * *)" (?GetInterfaceObject@CAutoApp@@UAGJPA_WPAPAUIDispatch@@@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::RunScript(wchar_t *)" (?RunScript@CAutoApp@@UAGJPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::RunCommand(wchar_t *)" (?RunCommand@CAutoApp@@UAGJPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::LoadLISP(wchar_t *)" (?LoadLISP@CAutoApp@@UAGJPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::UnloadSDS(wchar_t *)" (?UnloadSDS@CAutoApp@@UAGJPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::LoadSDS(wchar_t *)" (?LoadSDS@CAutoApp@@UAGJPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::Help(wchar_t *,wchar_t *,long)" (?Help@CAutoApp@@UAGJPA_W0J@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::UndefineFunction(wchar_t *)" (?UndefineFunction@CAutoApp@@UAGJPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::DefineFunction(wchar_t *,struct tagVARIANT)" (?DefineFunction@CAutoApp@@UAGJPA_WUtagVARIANT@@@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::get_Version(wchar_t * *)" (?get_Version@CAutoApp@@UAGJPAPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::put_StatusBar(wchar_t *)" (?put_StatusBar@CAutoApp@@UAGJPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::get_StatusBar(wchar_t * *)" (?get_StatusBar@CAutoApp@@UAGJPAPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::get_Path(wchar_t * *)" (?get_Path@CAutoApp@@UAGJPAPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::get_Name(wchar_t * *)" (?get_Name@CAutoApp@@UAGJPAPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::get_FullName(wchar_t * *)" (?get_FullName@CAutoApp@@UAGJPAPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::put_DefaultFilePath(wchar_t *)" (?put_DefaultFilePath@CAutoApp@@UAGJPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::get_DefaultFilePath(wchar_t * *)" (?get_DefaultFilePath@CAutoApp@@UAGJPAPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoApp::get_Caption(wchar_t * *)" (?get_Caption@CAutoApp@@UAGJPAPA_W@Z)
IApp.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall ATL::IDispatchImpl<struct i_AUTOMATION::IiApplication,&struct _GUID const i_AUTOMATION::IID_IiApplication,&struct _GUID const i_AUTOMATION::LIBID_Intelli,1,0,class ATL::CComTypeInfoHolder>::GetIDsOfNames(struct _GUID const &,wchar_t * *,unsigned int,unsigned long,long *)" (?GetIDsOfNames@?$IDispatchImpl@UIiApplication@i_AUTOMATION@@$1?IID_IiApplication@2@3U_GUID@@B$1?LIBID_Intelli@2@3U4@B$00$0A@VCComTypeInfoHolder@ATL@@@ATL@@UAGJABU_GUID@@PAPA_WIKPAJ@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::LoadShapeFile(wchar_t *)" (?LoadShapeFile@CAutoDoc@@UAGJPA_W@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::HandleToObject(wchar_t *,struct IDispatch * *)" (?HandleToObject@CAutoDoc@@UAGJPA_WPAPAUIDispatch@@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::EvaluateLispExpression(wchar_t *,struct tagVARIANT *)" (?EvaluateLispExpression@CAutoDoc@@UAGJPA_WPAUtagVARIANT@@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::SetLispVariable(wchar_t *,struct tagVARIANT)" (?SetLispVariable@CAutoDoc@@UAGJPA_WUtagVARIANT@@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::GetLispVariable(wchar_t *,struct tagVARIANT *)" (?GetLispVariable@CAutoDoc@@UAGJPA_WPAUtagVARIANT@@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::SetVariable(wchar_t *,struct tagVARIANT)" (?SetVariable@CAutoDoc@@UAGJPA_WUtagVARIANT@@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::GetVariable(wchar_t *,struct tagVARIANT *)" (?GetVariable@CAutoDoc@@UAGJPA_WPAUtagVARIANT@@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::WBlock(wchar_t *,struct i_AUTOMATION::IiSelectionSet *,struct i_AUTOMATION::IiPoint *)" (?WBlock@CAutoDoc@@UAGJPA_WPAUIiSelectionSet@i_AUTOMATION@@PAUIiPoint@3@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::SaveAs(wchar_t *,enum i_AUTOMATION::FileVersions)" (?SaveAs@CAutoDoc@@UAGJPA_WW4FileVersions@i_AUTOMATION@@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::Import(wchar_t *,struct i_AUTOMATION::IiPoint *,double)" (?Import@CAutoDoc@@UAGJPA_WPAUIiPoint@i_AUTOMATION@@N@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::Export(wchar_t *,wchar_t *,struct i_AUTOMATION::IiSelectionSet *)" (?Export@CAutoDoc@@UAGJPA_W0PAUIiSelectionSet@i_AUTOMATION@@@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::Close(short,wchar_t *)" (?Close@CAutoDoc@@UAGJFPA_W@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::get_Path(wchar_t * *)" (?get_Path@CAutoDoc@@UAGJPAPA_W@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::get_Name(wchar_t * *)" (?get_Name@CAutoDoc@@UAGJPAPA_W@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CAutoDoc::get_FullName(wchar_t * *)" (?get_FullName@CAutoDoc@@UAGJPAPA_W@Z)
IDoc.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall ATL::IDispatchImpl<struct i_AUTOMATION::IiDocument,&struct _GUID const i_AUTOMATION::IID_IiDocument,&struct _GUID const i_AUTOMATION::LIBID_Intelli,1,0,class ATL::CComTypeInfoHolder>::GetIDsOfNames(struct _GUID const &,wchar_t * *,unsigned int,unsigned long,long *)" (?GetIDsOfNames@?$IDispatchImpl@UIiDocument@i_AUTOMATION@@$1?IID_IiDocument@2@3U_GUID@@B$1?LIBID_Intelli@2@3U4@B$00$0A@VCComTypeInfoHolder@ATL@@@ATL@@UAGJABU_GUID@@PAPA_WIKPAJ@Z)
.\Pro\Debug/i.exe : fatal error LNK1120: 40 unresolved externals

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2007 at 2:02am
Hello,
 
Looks like conflict of this option... May be you have another lib that still have Treate wchar_t as Builtin Type  = No ? This option must set for all used lib projects.
 
With retail verrsion you will be able to change this option, but evaluation compilled with "Yes" and it can't be changed.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AkeT View Drop Down
Newbie
Newbie


Joined: 19 June 2007
Location: Thailand
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote AkeT Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2007 at 2:18am
Thank you for your very fast response
Regards,
AkeT
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.