Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Can't new CXTPPropertyGridItem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can't new CXTPPropertyGridItem

 Post Reply Post Reply
Author
Message
cmt75827 View Drop Down
Newbie
Newbie
Avatar

Joined: 30 August 2008
Location: China
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmt75827 Quote  Post ReplyReply Direct Link To This Post Topic: Can't new CXTPPropertyGridItem
    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)

Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2008 at 5:09am
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
Back to Top
cmt75827 View Drop Down
Newbie
Newbie
Avatar

Joined: 30 August 2008
Location: China
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmt75827 Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2008 at 10:55pm
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.
Back to Top
Osiris View Drop Down
Groupie
Groupie
Avatar

Joined: 18 June 2007
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Osiris Quote  Post ReplyReply Direct Link To This Post Posted: 10 November 2008 at 8:14am
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).
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.141 seconds.