convert an MFC application to MFC DLL
- From: Tom Gonuts <funkygonuts@xxxxxxxxx>
- Date: Wed, 27 May 2009 05:26:07 -0700 (PDT)
Hi,
I have an odd problem in converting MFC application to MFC DLL. As
already mentioned, I have an Visual C++ 6 MFC application which
contain some old C files and their headers. In the header files, most
variables were declared with keyword extern. After changing some
syntaxes, I was able to compile and run this application without any
problem using Visual Studio 2008.
However, when I tried to convert this application to MFC DLL by
creating a new MFC DLL project and importing all necessary files, I
ran into problems. Error LNK2001 shows that there are unresolved
symbol. The odd part is that all the unresolved symbols were declared
as an external variables. All the header files which contain extern
variables were included in a single main.cpp.
Can anyone give me some rough idea what I did wrong here?
Thanks,
Tom
.
- Follow-Ups:
- Re: convert an MFC application to MFC DLL
- From: Joseph M . Newcomer
- Re: convert an MFC application to MFC DLL
- From: Ajay
- Re: convert an MFC application to MFC DLL
- From: David Lowndes
- Re: convert an MFC application to MFC DLL
- Prev by Date: Launch after completing setup
- Next by Date: Re: convert an MFC application to MFC DLL
- Previous by thread: Launch after completing setup
- Next by thread: Re: convert an MFC application to MFC DLL
- Index(es):
Relevant Pages
|