Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Library Linker error when budiling a .DLL code in .NET 2008

Reply
 
Old 05-06-2009   #1 (permalink)


Windows XP
 
 

Library Linker error when budiling a .DLL code in .NET 2008

HI,

I am getting a library linker error while building my .dll code in .NET 2008 which has some .c files.

The errors details are as shown below :

Linking...
mfcs90d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in msvcrtd.lib(dllmain.obj)

LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
.\Debug/DLL.dll : fatal error LNK1169: one or more multiply defined symbols found
Build log was saved at "file://d:\CASETOOL\Parser\dll\Debug\BuildLog.htm"
DLL - 2 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Pls let me know how to overcome this error.

thanks in advance,
debugger

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Script-based code sample library (HTA) VB Script
Error when installing SQL Express 2008 on Windows Server 2008 PowerShell
Linker error when linking unmanaged library with manged exe .NET General
Error code 0x80070005 registering the SSL security library - Vista Vista General
VS 2008 & Code Analysis .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46