Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2007

Tip: Looking for answers? Try searching our database.

Please explain this linking error?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tomb - 08 Oct 2007 19:00 GMT
I haven't worked with Visual C++ before, so I'm in a little over my head
on a project I'm doing.

I'm using VC++ 2003 unmanaged code, and I am getting this linking error
that I don't understand:

PatsInf error LNK2001: unresolved external symbol "protected: virtual
struct AFX_MSGMAP const * __thiscall
CPatsInfApp::GetMessageMap(void)const "
(?GetMessageMap@CPatsInfApp@@MBEPBUAFX_MSGMAP@@XZ)

PatsInf is my class file.  When I double click the error message, it
doesn't take me to the offending code, and I don't understand what this
is telling me, so I don't even know where to look.  Please help!

T
Sheng Jiang[MVP] - 08 Oct 2007 19:47 GMT
Because it is a link error shows something is missing, you don't have the
line number.

A quick search of GetMessageMap shows MFC Library Reference TN006: Message
Maps , which describes the correct way of declaring and implementing message
maps. Make your you don't miss any step.
Signature

Sheng Jiang
Microsoft MVP in VC++

> I haven't worked with Visual C++ before, so I'm in a little over my head
> on a project I'm doing.
[quoted text clipped - 12 lines]
>
> T

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.