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

Dll problem while porting to .NET

3
Hello!

While trying to port VC6 code to VC8, I stuck at this DLL problem. While compiling my project which is DLL, I am getting this error

mfcs80d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)

I then explicitly added mfc80d.dll to the ignore list and it compiled successfully. But while executing, I get the error that MFC80D.DLL is missing as obvious.
I am not getting where am I goin wrong. Can someone help me plz.

here are first few line where I am getting the error [VERBOSE:LIB]....

Expand|Select|Wrap|Line Numbers
  1. Linking...
  2. Searching libraries
  3.     Searching ..\..\..\Debug\CryptoInterface\CryptoInterface.lib:
  4.     Searching F:\New MicrosoftSDK\Lib\pdh.lib:
  5.     Searching ..\..\..\Debug\FBCommonDll\FBCommonDll.lib:
  6.     Searching ..\..\Output\Debug\DeviceInfo.lib:
  7.     Searching ..\..\..\Library Source Code\xerces\lib\xerces-c_2.lib:
  8.     Searching ..\..\..\Debug\Logger\Logger.lib:
  9.     Searching D:\Program Files\Microsoft Visual Studio 8\VC\lib\MSVCRTD.lib:
  10.     Searching D:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
  11.     Searching D:\Program Files\Microsoft Visual Studio 8\VC\lib\msvcprtd.lib:
  12.     Searching F:\New MicrosoftSDK\Lib\uuid.lib:
  13.     Searching D:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfc80d.lib:
  14.     Searching D:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcs80d.lib:
  15.     mfcs80d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
  16.     Searching F:\New MicrosoftSDK\Lib\kernel32.lib:
  17.     Searching F:\New MicrosoftSDK\Lib\user32.lib:
  18.  
Thanks in advance.
Nov 22 '06 #1
1 3695
Dear Hash,
I have a similair problem and I would like to know if you arrived to solve the above described problem and how?

Thanks in advance,
Aug 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Edward | last post by:
Years ago I wrote an app in VB 4.0 16 bit. The program is still selling, but the clients want to upgrade to 32 bit. Should I go for VB 4.0 32 bit, or version 5, or version 6? There is only a...
2
by: Anand | last post by:
Hi Are there any tools that would help in porting code from Pyton 2.3 to 2.4 ? I have gone through the whatsnew documents and created a document comparing Python 2.4 to 2.3. But so far has not...
5
by: Ryan Liu | last post by:
Hi All, Now I am porting CC to GCC and I have some problems. Would you mind tell me some document which have some description how to port CC to GCC ?? Thank you very much. Ryan
7
by: Morten Aune Lyrstad | last post by:
Here's the deal: I'm looping through a collection of listener class objects like this: (illustration code only) AClass::ThrowEvent() { for (int i = 0; i < numListeners; i++) {...
4
by: golu | last post by:
Has any body done the porting from oracle to sql server, what were the issues in porting the data bases? Also suggest some resources which can be helpful in the porting project TIA Golu
4
by: Chris Travers | last post by:
Hi all; A few years ago, I set about porting a PHP application from MySQL to PostgreSQL, after realizing that MySQL wasn't going to be able to handle it. In order to do this, I built a light,...
0
by: Sushma | last post by:
Hi All I'm porting my application from VC6 to VC7. There is a COM exe that has successfully registered itself with system. But when I'm using its services in other Dll I get this error. ...
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
1
by: ushasivaram | last post by:
hi, while compiling my build in REDHAT 9 i got the following error saying as: /modules/opensrc/openssl-0.9.8d/ssl sslhttp.c -o ../../../../../modules/system/ENTR-V4/lx/obj/sslhttp.o In file...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.