Can't new CXTPPropertyGridItem |
Post Reply |
Author | |
cmt75827
Newbie Joined: 30 August 2008 Location: China Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 31 August 2008 at 10:49pm |
Using MS VC++ .net version 2003.
I can't new CXTPPropertyGridItem. I get the following link errors: VfsTools error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::PutAccessibleValue(struct tagVARIANT,unsigned short *)" (?PutAccessibleValue@CXTPAccessible@@UAEJUtagVARIANT@@PAG@Z) VfsTools error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::PutAccessibleName(struct tagVARIANT,unsigned short *)" (?PutAccessibleName@CXTPAccessible@@UAEJUtagVARIANT@@PAG@Z) VfsTools error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::GetAccessibleDefaultAction(struct tagVARIANT,unsigned short * *)" (?GetAccessibleDefaultAction@CXTPAccessible@@UAEJUtagVARIANT@@PAPAG@Z) VfsTools error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::GetAccessibleKeyboardShortcut(struct tagVARIANT,unsigned short * *)" (?GetAccessibleKeyboardShortcut@CXTPAccessible@@UAEJUtagVARIANT@@PAPAG@Z) VfsTools error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::GetAccessibleHelpTopic(unsigned short * *,struct tagVARIANT,long *)" (?GetAccessibleHelpTopic@CXTPAccessible@@UAEJPAPAGUtagVARIANT@@PAJ@Z) VfsTools error LNK2001: unresolved external symbol "public: virtual long __thiscall CXTPAccessible::GetAccessibleHelp(struct tagVARIANT,unsigned short * *)" (?GetAccessibleHelp@CXTPAccessible@@UAEJUtagVARIANT@@PAPAG@Z) VfsTools error LNK2001: unresolved external symbol "protected: virtual long __thiscall CXTPPropertyGridItem::GetAccessibleDescription(struct tagVARIANT,unsigned short * *)" (?GetAccessibleDescription@CXTPPropertyGridItem@@MAEJUtagVARIANT@@PAPAG@Z) VfsTools error LNK2001: unresolved external symbol "protected: virtual long __thiscall CXTPPropertyGridItem::GetAccessibleValue(struct tagVARIANT,unsigned short * *)" (?GetAccessibleValue@CXTPPropertyGridItem@@MAEJUtagVARIANT@@PAPAG@Z) VfsTools error LNK2001: unresolved external symbol "protected: virtual long __thiscall CXTPPropertyGridItem::GetAccessibleName(struct tagVARIANT,unsigned short * *)" (?GetAccessibleName@CXTPPropertyGridItem@@MAEJUtagVARIANT@@PAPAG@Z) |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
Try to set project option "Treat wchar_t as built in type" (/Zc:wchar_t). |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
cmt75827
Newbie Joined: 30 August 2008 Location: China Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Hi,
After setting project option "Treat wchar_t as built in type" (/Zc:wchar_t), the game engine used in my program would bring lots of link errors. So I must set project option "Treat wchar_t as built in type" to NO in my program. Is there another solution? Thanks. |
|
Osiris
Groupie Joined: 18 June 2007 Status: Offline Points: 29 |
Post Options
Thanks(0)
|
Hi,
you can compile the ToolkitPro libraries you need with the same settings you use in the rest of your project (e.g. "Treat wchar_t as built in type" = NO). Unfortunately for the "Treat wchar_t as built in type" option you can not use the codejock deployment wizard. So you have to recompile the libraries by 'hand' (resp. the VS). |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |