473,405 Members | 2,176 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,405 software developers and data experts.

Help me! Link error when upgrade old VC application to VS.NET 2003

When I upgrade my old vc6 application to VS.NET2003, I always get a
linker error, I had fixed some compiling error,

the error message, error LNK2019:

MultiWME error LNK2019: ÎÞ·¨½âÎöµÄÍⲿ·ûºÅ "__declspec(dllimport) protected:
static struct AFX_MSGMAP const * __stdcall
CCJFrameWnd::GetThisMessageMap(void)"
(__imp_?GetThisMessageMap@CCJFrameWnd@@KGPBUAFX_MS GMAP@@XZ) £¬¸Ã·ûºÅÔÚº¯Êý
_$E7 Öб»ÒýÓÃ
MultiWME error LNK2019: ÎÞ·¨½âÎöµÄÍⲿ·ûºÅ "__declspec(dllimport) public:
static struct CRuntimeClass * __stdcall CCJFrameWnd::GetThisClass(void)"
(__imp_?GetThisClass@CCJFrameWnd@@SGPAUCRuntimeCla ss@@XZ) £¬¸Ã·ûºÅÔÚº¯Êý
_$E5 Öб»ÒýÓÃ

I link a extern lib(written with MS VC6).All these work well with MS
VC6Thank for your the advanced.RegardsAllen Chang
Nov 17 '05 #1
2 3444
you can try to change linking MFC/C++ runtime staticaly/dynamically

"allen zhang" <zh************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
When I upgrade my old vc6 application to VS.NET2003, I always get a
linker error, I had fixed some compiling error,

the error message, error LNK2019:

MultiWME error LNK2019: ÎÞ·¨½âÎöµÄÍⲿ·ûºÅ "__declspec(dllimport) protected: static struct AFX_MSGMAP const * __stdcall
CCJFrameWnd::GetThisMessageMap(void)"
(__imp_?GetThisMessageMap@CCJFrameWnd@@KGPBUAFX_MS GMAP@@XZ) £¬¸Ã·ûºÅÔÚº¯Êý
_$E7 Öб»ÒýÓÃ
MultiWME error LNK2019: ÎÞ·¨½âÎöµÄÍⲿ·ûºÅ "__declspec(dllimport) public:
static struct CRuntimeClass * __stdcall CCJFrameWnd::GetThisClass(void)"
(__imp_?GetThisClass@CCJFrameWnd@@SGPAUCRuntimeCla ss@@XZ) £¬¸Ã·ûºÅÔÚº¯Êý
_$E5 Öб»ÒýÓÃ

I link a extern lib(written with MS VC6).All these work well with MS
VC6Thank for your the advanced.RegardsAllen Chang

Nov 17 '05 #2
Sorry, it don't work. I don't know what make this issue.

<www.fruitfruit.com> дÈëÓʼþ news:OP**************@TK2MSFTNGP11.phx.gbl...
you can try to change linking MFC/C++ runtime staticaly/dynamically

"allen zhang" <zh************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
When I upgrade my old vc6 application to VS.NET2003, I always get a
linker error, I had fixed some compiling error,

the error message, error LNK2019:

MultiWME error LNK2019: ÎÞ·¨½âÎöµÄÍⲿ·ûºÅ "__declspec(dllimport)

protected:
static struct AFX_MSGMAP const * __stdcall
CCJFrameWnd::GetThisMessageMap(void)"
(__imp_?GetThisMessageMap@CCJFrameWnd@@KGPBUAFX_MS GMAP@@XZ) £¬¸Ã·ûºÅÔÚº¯ Êý _$E7 Öб»ÒýÓÃ
MultiWME error LNK2019: ÎÞ·¨½âÎöµÄÍⲿ·ûºÅ "__declspec(dllimport) public: static struct CRuntimeClass * __stdcall CCJFrameWnd::GetThisClass(void)"
(__imp_?GetThisClass@CCJFrameWnd@@SGPAUCRuntimeCla ss@@XZ) £¬¸Ã·ûºÅÔÚº¯Êý
_$E5 Öб»ÒýÓÃ

I link a extern lib(written with MS VC6).All these work well with MS
VC6Thank for your the advanced.RegardsAllen Chang


Nov 17 '05 #3

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

Similar topics

2
by: Ian DeRock | last post by:
I'm fairly new to XML. As I can see it, XML is a way to organize data like in a table in a RDB, or the RDB itself. I have used XML in application data, but did not design the actual XML. I...
2
by: BT Openworld | last post by:
I have just had to upgrade to Access 2003 as Access 97 EMail (SendObject) doesn't work when loaded on Windows XP. I'm finding my way around Access 2003 but my biggest problem is getting...
8
by: Lauren Wilson | last post by:
Hi Folks, We have a solid, five year old Access app that is suddenly behaving oddly after conversion to Access 2002/2003 format. Everything seems to run OK except for a few oddities. The code...
0
by: allen zhang | last post by:
When I upgrade my old vc6 application to VS.NET2003, I always get a linker error, I had fixed some compiling error, the error message, error LNK2019: MultiWME error LNK2019: ÎÞ·¨½âÎöµÄÍⲿ·ûºÅ...
6
by: AlanS | last post by:
I have used Visual Studio for about 8 months. I have developed some ASP solutions. I had to get on with some other things and have not worked with ASP.NET for a couple months. In the meantime, I...
0
by: victor | last post by:
My hosting company recently upgrade to window 2003 server. The reasearch i have done so far is that 2003 server will use IIS6.0. It is totally different from 2000 server and IIS 5.0 I have...
15
by: DavidS | last post by:
Have Visual Studio.NET installed on MS 2000 Professional OS laptop. No issue ever with web development and SQL connections. Purchased new laptop with XP Professional SP2!!!!!!!! & Visual...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
0
by: =?Utf-8?B?Q2FybG9z?= | last post by:
We have an existing Microsoft Visual Studio .Net Windows Forms application that uses the bundled version of Crystal Reports 9. There are now 5 versions of this application (8.0, 8.1, 8.2, 8.3, 8.4...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.