473,573 Members | 2,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dll problem while porting to .NET

3 New Member
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(dll modul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dll main.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 3712
sardouk
1 New Member
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
7335
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 tiny budget for this, and I don't want to do any rewrites so VB.NET is out! Also, are there any "gotchas" that I need to be aware of? many thanks...
2
1897
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 been able to find any tool that will signal code in Python 2.3 that can cause errors in Python 2.4 . rgds
5
2856
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
1380
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++) { listener.OnEvent(); } }
4
1997
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
2362
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, fast database abstraction layer which conforms to the behavior of the MySQL functions in PHP. This means that a large amount of porting work could be...
0
1181
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. SiIdSearch error LNK2019: unresolved external symbol "public: __thiscall _com_ptr_t<class _com_IIID<struct SIPROGRESSDIALOGMODLib::IProgressDialog,&struct...
34
4024
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
1
1816
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 included from sslhttp.c:64: ../../porting/lx/driver/fleet/fleetcmn.h:489:30: warning: crypto/cryptodev.h: No such file or directoryIn file included...
0
7699
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8027
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7788
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6421
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5594
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3733
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3733
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2216
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1304
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.