473,327 Members | 2,118 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Please explain this linking error?

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
Oct 8 '07 #1
1 1766
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.
--
Sheng Jiang
Microsoft MVP in VC++
"tomb" <to**@technetcenter.comwrote in message
news:1c***************@bignews7.bellsouth.net...
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

Oct 8 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Wolfgang | last post by:
I have a problem with linking my CPP Code under a irix6 machine (sgi, UNIX). In my CPP code I use some Functions which are written in Python. So its a kind of CPP wrapper for my Python functions In...
3
by: Saurabh Aggrawal | last post by:
Hi, I am porting an application for 64-bit AMD processor and while linking the application i am getting the following errors: Processing directory uidll... Linking DLL...
4
by: Gary Hughes | last post by:
Hi all, sometime I posted a problem in here where I was getting the following error from the linker in VS C++ 2003. Linking... GCClass.obj : error LNK2022: metadata operation failed (80131188)...
2
by: | last post by:
Help! I'm new to c++, and am breaking my teeth on MS Visual C++ (bundled within Visual Studio .NET 2003). Am trying to link simple c++ code to fortran dlls created in Compaq Visual Fortran (v6.1)....
7
by: wmkew | last post by:
Hello everyone I'm encountering a R6002 Runtime error and several bugs when trying to generate a simple Managed C++ application with .NET 2003. The main problem seems to arise from linking with...
4
by: Sanjay Kumar | last post by:
Folks ! I am working with VC++ after a long time and having problem linking latest xerces 2.7 in VC++ 2005 Express Edition. I have done following: 1. downloaded and unpacked the the...
0
by: Philip Lowman | last post by:
I am in the process of trying to migrate a couple of build solutions to Visual Studio Express 2005 from VS 2003 Professional and I am running into a weird C/C++ runtime library linking issue when...
0
by: dotyet | last post by:
Hi Everyone, I am trying to build a DB2 UDB UDF which can perform regex over the table data. The user defined function will call an external .dll file to do the task. I am referring to the...
0
by: xpnctoc | last post by:
OK. I'm making a DLL with a bunch of Win forms controls. The project is in C++/CLI, compiled with the "/pure" switch. I made a control that contained a TextBox, and two Panels. Each panel has a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.