Errors with latest 64 bit sdk
I am porting my application from 32-bit to 64-bit, I am getting following errors in release build with latest compiler(1.4.3.3,64 bit SDK and DDK). It is building successfully in debug mode.
nafxcw.lib(wingdi.obj) : error LNK2005: "public: void __cdecl CWnd:
creenToClient(struct tagRECT *)const " (?ScreenToClient@CWnd@@QEBAXPEAUtagRECT@@@Z) already defined in MSIDialog.obj
nafxcw.lib(wingdi.obj) : error LNK2005: "public: void __cdecl CWnd::ClientToScreen(struct tagRECT *)const " (?ClientToScreen@CWnd@@QEBAXPEAUtagRECT@@@Z) already defined in PermissionDlg.obj
Creating library \ice\BUILDSHELF\Release\Setup\HPZwup40.lib and object \ice\BUILDSHELF\Release\Setup\HPZwup40.exp
\ice\BUILDSHELF\Release\Setup\HPZwup40.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
$(ICE_DIVISION)wup$(ICE_REV).exe - 3 error(s), 0 warning(s)
I am using both methods(ScreenToClient & ClientToScreen) in my application.
Can anybody help me to resolve this?
Thanks,
Kishore Wani

