Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello friends,I am having a very diifult situation here...Actually I am developing a MFC project.In my project I have another small project inlcuded as a lib input to my main project.. I set the "use of MFC"--as "use MFC in Shared Dll" in my project settings...its working great..but when I set the "use of MFC" -- as "use MFC in static dll"..am not able to built the project both in debug/release mode.The reason that I dont want to set the "use MFC as Shared Dll" is because I want my project to run in machine which do not support visual studio...I am getting the following error:

VB
error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in Client7z.lib(NewHandler.obj)    uafxcwd.lib    SelfExtractor



I read an article http://support.microsoft.com/kb/148652[^]..as per their suggestion i tried to ignore the follwing library Nafxcwd.lib;Libcmtd.lib but still its not working...if u guys knw any solution please help me.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900