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 / VB.NET / August 2006

Tip: Looking for answers? Try searching our database.

Getting error LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in atlmincrt.lib(atlinit.obj)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sethuganesh@gmail.com - 22 Aug 2006 14:10 GMT
HI,

i have ported vc++ 6.0 code to visual studio 2005. During batch build
in debug mode i din't get any error.But if i build the same in release
mode i am getting the following error.

LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already
defined in atlmincrt.lib(atlinit.obj)
LIBCMT.lib(tidtable.obj) : error LNK2005: __encoded_null already
defined in atlmincrt.lib(atlinit.obj)
LIBCMT.lib(tidtable.obj) : error LNK2005: __decode_pointer already
defined in atlmincrt.lib(atlinit.obj)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __get_osplatform already
defined in atlmincrt.lib(atlinit.obj)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __osplatform already defined
in atlmincrt.lib(atlinit.obj)
LIBCMT.lib(calloc.obj) : error LNK2005: _calloc already defined in
atlmincrt.lib(atlinit.obj)
LIBCMT.lib(dosmap.obj) : error LNK2005: __errno already defined in
atlmincrt.lib(atlinit.obj)
LIBCMT.lib(dosmap.obj) : error LNK2005: __set_errno already defined in
atlmincrt.lib(atlinit.obj)
LIBCMT.lib(dosmap.obj) : error LNK2005: __get_errno already defined in
atlmincrt.lib(atlinit.obj)

If anybody experienced above error, pls let me know.



Thanks,

Ganesh.S
David Browne - 22 Aug 2006 14:21 GMT
> HI,
>
[quoted text clipped - 4 lines]
> LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already
> defined in atlmincrt.lib(atlinit.obj)
...

Check the "Minimize CRT Use in ATL" project setting for the release
configuration.

And why is this posted in a VB group?

David

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.