Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Task Panel
  New Posts New Posts RSS Feed - 10.4 Linker Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

10.4 Linker Error

 Post Reply Post Reply
Author
Message
KFournier View Drop Down
Groupie
Groupie
Avatar

Joined: 17 August 2004
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote KFournier Quote  Post ReplyReply Direct Link To This Post Topic: 10.4 Linker Error
    Posted: 02 January 2007 at 12:57pm

When switching to 10.4, the VC++ 6.0 Linker reported that TaskPanel::GetPaintManager was missing. I added the following code to the bottom of XTPTaskPanel.h.

AFX_INLINE CXTPImageManager* CXTPTaskPanel::GetImageManager() const {
 return m_pImageManager;
}
Kevin R. Fournier
SRP Computer Solutions, Inc.
Back to Top
KFournier View Drop Down
Groupie
Groupie
Avatar

Joined: 17 August 2004
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote KFournier Quote  Post ReplyReply Direct Link To This Post Posted: 02 January 2007 at 12:59pm
Sorry, TaskPanel::GetPaintManager should read XTPTaskPanel::GetImageManager
Kevin R. Fournier
SRP Computer Solutions, Inc.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 02 January 2007 at 4:11pm
hmm. very strange. implementation must be in XTPTaskPanel.cpp file.
Don't you have
CXTPImageManager* CXTPTaskPanel::GetImageManager() const
{
 return m_pImageManager ? m_pImageManager : XTPImageManager();
}
 
in XTPTaskPanel.cpp ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
KFournier View Drop Down
Groupie
Groupie
Avatar

Joined: 17 August 2004
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote KFournier Quote  Post ReplyReply Direct Link To This Post Posted: 02 January 2007 at 4:48pm

I ran the install again and pointed it to a fresh directory. I checked that file and sure enough, the function exists within the .cpp file. I must have been careless and somehow deleted it. Forgive me for wasting your time.

Kevin R. Fournier
SRP Computer Solutions, Inc.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 03 January 2007 at 1:41am
No problem.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.125 seconds.