473,387 Members | 1,578 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,387 software developers and data experts.

Linker error when using VC7

(Type your message here)
Hi,
My app (DLL) that was developed in VC6 is using ddao35u.lib toaccess the Access Database.
When I try to build the same DLL using VC7 I get the followinglinker error.
Any pointers on how to resolve this?
Thanks!
Deepa
error LNK2019: unresolved external symbol "public: classATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsignedshort,class ATL::ChTraitsCRT<unsigned short> > > __thiscallCdbLastOLEError::GetDescription(void)"(? GetDescription@CdbLastOLEError@@QAE?AV?$CStringT@G V?$StrTraitMFC_DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@ XZ)
--------------------------------
From: Deepa

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>msRs8Q3mBUyUiqnq6LmyTQ==</Id>
Nov 17 '05 #1
6 3013
Does your DLL require any registration? If so may be you should re-register
it?
regsvr32 /u [your dll name]
regsvr32 [your dll name]

Not sure whether this helps.

"Deepa via .NET 247" <an*******@dotnet247.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
(Type your message here)
Hi,
My app (DLL) that was developed in VC6 is using ddao35u.lib to access the
Access Database.
When I try to build the same DLL using VC7 I get the following linker error.
Any pointers on how to resolve this?
Thanks!
Deepa
error LNK2019: unresolved external symbol "public: class
ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class
ATL::ChTraitsCRT<unsigned short> > > __thiscall
CdbLastOLEError::GetDescription(void)"
(?GetDescription@CdbLastOLEError@@QAE?AV?$CStringT @GV?$StrTraitMFC_DLL@GV?$C
hTraitsCRT@G@ATL@@@@@ATL@@XZ)
--------------------------------
From: Deepa

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>msRs8Q3mBUyUiqnq6LmyTQ==</Id>
Nov 17 '05 #2
Does your DLL require any registration? If so may be you should re-register
it?
regsvr32 /u [your dll name]
regsvr32 [your dll name]

Not sure whether this helps.

"Deepa via .NET 247" <an*******@dotnet247.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
(Type your message here)
Hi,
My app (DLL) that was developed in VC6 is using ddao35u.lib to access the
Access Database.
When I try to build the same DLL using VC7 I get the following linker error.
Any pointers on how to resolve this?
Thanks!
Deepa
error LNK2019: unresolved external symbol "public: class
ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class
ATL::ChTraitsCRT<unsigned short> > > __thiscall
CdbLastOLEError::GetDescription(void)"
(?GetDescription@CdbLastOLEError@@QAE?AV?$CStringT @GV?$StrTraitMFC_DLL@GV?$C
hTraitsCRT@G@ATL@@@@@ATL@@XZ)
--------------------------------
From: Deepa

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>msRs8Q3mBUyUiqnq6LmyTQ==</Id>
Nov 17 '05 #3
You might need to switch between wchar_t and unsigned short as the default
WCHAR type.
Nov 17 '05 #4
You might need to switch between wchar_t and unsigned short as the default
WCHAR type.
Nov 17 '05 #5
When I had a problem linking on a CString, it was because I was not
linking in the foillowing libraries:

mfc71d.lib
mfcs71d.lib

Make sure that these are being included in your link path. You can
manually specify them from Linker->Input->Additional dependencies.

- Doug

Deepa via .NET 247 <an*******@dotnet247.com> wrote in message news:<#m**************@TK2MSFTNGP12.phx.gbl>...
(Type your message here)
Hi,
My app (DLL) that was developed in VC6 is using ddao35u.lib to
access the Access Database.
When I try to build the same DLL using VC7 I get the following
linker error.
Any pointers on how to resolve this?
Thanks!
Deepa
error LNK2019: unresolved external symbol "public: class
ATL::CStringT<unsigned short,class StrTraitMFC DLL<unsigned
short,class ATL::ChTraitsCRT<unsigned short> > > thiscall
CdbLastOLEError::GetDescription(void)"
(?GetDescription@CdbLastOLEError@@QAE?AV?$CStringT @GV?$StrTraitM
FC DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@XZ)
--------------------------------
From: Deepa

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>msRs8Q3mBUyUiqnq6LmyTQ==</Id>

Nov 17 '05 #6
When I had a problem linking on a CString, it was because I was not
linking in the foillowing libraries:

mfc71d.lib
mfcs71d.lib

Make sure that these are being included in your link path. You can
manually specify them from Linker->Input->Additional dependencies.

- Doug

Deepa via .NET 247 <an*******@dotnet247.com> wrote in message news:<#m**************@TK2MSFTNGP12.phx.gbl>...
(Type your message here)
Hi,
My app (DLL) that was developed in VC6 is using ddao35u.lib to
access the Access Database.
When I try to build the same DLL using VC7 I get the following
linker error.
Any pointers on how to resolve this?
Thanks!
Deepa
error LNK2019: unresolved external symbol "public: class
ATL::CStringT<unsigned short,class StrTraitMFC DLL<unsigned
short,class ATL::ChTraitsCRT<unsigned short> > > thiscall
CdbLastOLEError::GetDescription(void)"
(?GetDescription@CdbLastOLEError@@QAE?AV?$CStringT @GV?$StrTraitM
FC DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@XZ)
--------------------------------
From: Deepa

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>msRs8Q3mBUyUiqnq6LmyTQ==</Id>

Nov 17 '05 #7

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

Similar topics

12
by: Baloff | last post by:
Hello I have this linker error which makes me think that the definition file is not being seen by the linker, this code is taken from "Thinking in C++, 2nd Edition, Volume 1, Annotated Solutions...
2
by: haplotype | last post by:
I have designed a package with several files, which is listed bellow base.cpp & base.hpp - define the template class base tree.cpp & tree.hpp - define the class tree derived from base<int>...
1
by: Laszlo | last post by:
Hi all, As a novice I installed PostgreSQL 7.2.1 on Win32 and works, Borland C++Builder Enterprise Suite 5.0 (build 12.34) what works too. I decided to combine these two programs and develop a...
3
by: Steve Baer | last post by:
I recently read your whitepaper under the "extremely long link times" post and have a question that I was hoping you could answer. My question is based on the following paragraph: Directives...
3
by: ac2806 | last post by:
Hi I want to use the static MFC within a dll, but I get the following errors when linking: nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv nafxcwd.lib(appcore.obj)...
9
by: Peter Oliphant | last post by:
For some reson my code is generating a LNK1215 error, which 'suggests' I re-install VS C++. So I did. which did NOT solve the problem. The weid part is it seems to be caused by my one CPP file, but...
3
by: Chucker | last post by:
Hi Folks, I got a Wrapper Dll around a native C++ static library. In .NET 1.1 this worked fine. When moving to .NET 2.0 I get a couple of unresolved externals / linker errors: Error 16 error...
2
by: Oneironaut | last post by:
Hello friends, I have an issue with a linker warning. It is the warning LNK4089. I am working in MSVC6.0 I investigated and this warning tells that the import of the library to which it makes...
1
by: Deepath G | last post by:
This is deepath.. I am getting some linker error when i am trying to connect Websphere MQ using Borland C++ Builder 2006 using imqi.hpp on windows. Error Message ----------------------- ...
3
by: Rahul | last post by:
Hi Everyone, I have the following polymorphic classes, class Shape { public : virtual void draw() { } virtual void sample();
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.