Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » link error when build the pgm Collapse All
Subject Author Date
Gunasekaran Velu Sep 6, 2005 - 5:20 AM

hi folks


        i have problem when build the pgm. the following error will


error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::BackColorGet(enum CExtGridCell::e_cell_state_t)const " (?BackColorGet@CExtGridCell@@UBEKW4e_cell_state_t@1@@Z)
PostalCodeMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::BackColorGet(enum CExtGridCell::e_cell_state_t)const " (?BackColorGet@CExtGridCell@@UBEKW4e_cell_state_t@1@@Z)
UserMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::BackColorGet(enum CExtGridCell::e_cell_state_t)const " (?BackColorGet@CExtGridCell@@UBEKW4e_cell_state_t@1@@Z)
Diagmas.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::BackColorSet(enum CExtGridCell::e_cell_state_t,unsigned long)" (?BackColorSet@CExtGridCell@@UAEKW4e_cell_state_t@1@K@Z)
PostalCodeMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::BackColorSet(enum CExtGridCell::e_cell_state_t,unsigned long)" (?BackColorSet@CExtGridCell@@UAEKW4e_cell_state_t@1@K@Z)
UserMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::BackColorSet(enum CExtGridCell::e_cell_state_t,unsigned long)" (?BackColorSet@CExtGridCell@@UAEKW4e_cell_state_t@1@K@Z)
Diagmas.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::TextColorGet(enum CExtGridCell::e_cell_state_t)const " (?TextColorGet@CExtGridCell@@UBEKW4e_cell_state_t@1@@Z)
PostalCodeMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::TextColorGet(enum CExtGridCell::e_cell_state_t)const " (?TextColorGet@CExtGridCell@@UBEKW4e_cell_state_t@1@@Z)
UserMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::TextColorGet(enum CExtGridCell::e_cell_state_t)const " (?TextColorGet@CExtGridCell@@UBEKW4e_cell_state_t@1@@Z)
Diagmas.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::TextColorSet(enum CExtGridCell::e_cell_state_t,unsigned long)" (?TextColorSet@CExtGridCell@@UAEKW4e_cell_state_t@1@K@Z)
PostalCodeMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::TextColorSet(enum CExtGridCell::e_cell_state_t,unsigned long)" (?TextColorSet@CExtGridCell@@UAEKW4e_cell_state_t@1@K@Z)
UserMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::TextColorSet(enum CExtGridCell::e_cell_state_t,unsigned long)" (?TextColorSet@CExtGridCell@@UAEKW4e_cell_state_t@1@K@Z)
Diagmas.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtGridCell::OnSetCheck(int,class CExtGridWnd &,struct tagRECT const &,struct tagRECT const &)" (?OnSetCheck@CExtGridCell@@UAEXHAAVCExtGridWnd@@ABUtagRECT@@1@Z
)
PostalCodeMaster.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtGridCell::OnSetCheck(int,class CExtGridWnd &,struct tagRECT const &,struct tagRECT const &)" (?OnSetCheck@CExtGridCell@@UAEXHAAVCExtGridWnd@@ABUtag
RECT@@1@Z)
UserMaster.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtGridCell::OnSetCheck(int,class CExtGridWnd &,struct tagRECT const &,struct tagRECT const &)" (?OnSetCheck@CExtGridCell@@UAEXHAAVCExtGridWnd@@ABUtagRECT@@
1@Z)
Diagmas.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::OnQueryBackColor(class CExtGridWnd const &,class CDC &,long,long,long,long,int,int,unsigned long,unsigned long)const " (?OnQueryBackColor
@CExtGridCell@@UBEKABVCExtGridWnd@@AAVCDC@@JJJJHHKK@Z)
PostalCodeMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::OnQueryBackColor(class CExtGridWnd const &,class CDC &,long,long,long,long,int,int,unsigned long,unsigned long)const " (?OnQuery
BackColor@CExtGridCell@@UBEKABVCExtGridWnd@@AAVCDC@@JJJJHHKK@Z)
UserMaster.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __thiscall CExtGridCell::OnQueryBackColor(class CExtGridWnd const &,class CDC &,long,long,long,long,int,int,unsigned long,unsigned long)const " (?OnQueryBackCo
lor@CExtGridCell@@UBEKABVCExtGridWnd@@AAVCDC@@JJJJHHKK@Z)
Diagmas.obj : error LNK2001: unresolved external symbol "public: virtual struct HFONT__ * __thiscall CExtGridCell::OnQueryCellFont(class CExtGridWnd const &,long,long,long,long,int,int,unsigned long,unsigned long)const " (?OnQueryCellFont@CExtGridCe
ll@@UBEPAUHFONT__@@ABVCExtGridWnd@@JJJJHHKK@Z)
PostalCodeMaster.obj : error LNK2001: unresolved external symbol "public: virtual struct HFONT__ * __thiscall CExtGridCell::OnQueryCellFont(class CExtGridWnd const &,long,long,long,long,int,int,unsigned long,unsigned long)const " (?OnQueryCellFont@C
ExtGridCell@@UBEPAUHFONT__@@ABVCExtGridWnd@@JJJJHHKK@Z)
UserMaster.obj : error LNK2001: unresolved external symbol "public: virtual struct HFONT__ * __thiscall CExtGridCell::OnQueryCellFont(class CExtGridWnd const &,long,long,long,long,int,int,unsigned long,unsigned long)const " (?OnQueryCellFont@CExtGri
dCell@@UBEPAUHFONT__@@ABVCExtGridWnd@@JJJJHHKK@Z)


 


thanks in advance


Guna

Technical Support Sep 6, 2005 - 12:58 PM

The output looks like the linker does not try to link with the Prof-UIS library at all. Please make sure that:

  • You included the Prof-UIS.h line in the StdAfx.h file of your project.
  • You did not include any ProfUIS*.LIB into your project explicitly. It is redundant because Prof-UIS is linked with your project automatically.
You can also send us your project so we can help you clarify the issue.