< Previous by Date Date Index Next by Date >
  Thread Index  

Re: [reSIProcate] Help building small MFC dialog based program to testDUM


Hi,

I'm working too with mfc and dum and what you have to do is use the same
run-time for the libraries and the application to avoid conflicts.
For example, i built resip, dum, ares with Multi-threaded Debug in Debug
conf so i set the same for my Debug config of my app.
Be carreful not to mix debug runtimes and release one too. Notice that when
you change Use of MFC parameter, VC7 may change runtime too, dont forget to
check that.
Hope this will help.

Regards,

Dom.


> ----- Original Message ----- 
> From: "kaiduan xie" <kaiduanx@xxxxxxxx>
> To: <resiprocate-devel@xxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, September 14, 2004 10:47 PM
> Subject: [reSIProcate] Help building small MFC dialog based program to
> testDUM
> 
> 
> > Hi, all,
> >
> > This is not really related to DUM, but I still need
> > you guys help.
> >
> > I write a small MFC dialog based application to test
> > DUM, and got stuck while building it. (Actually it
> > worked well in yesterday, and I have not change
> > anything, :).  The error is:
> >
> >
> > MAUA error LNK2005: "void * __cdecl operator
> > new(unsigned int)" (??2@YAPAXI@Z) already defined in
> > libcpmtd.lib(newop.obj)
> >
> > MAUA error LNK2005: "void __cdecl operator delete(void
> > *)" (??3@YAXPAX@Z) already defined in
> > LIBCMTD.lib(dbgdel.obj)
> >
> > MAUA error LNK2005: "void * __cdecl operator
> > new[](unsigned int)" (??_U@YAPAXI@Z) already defined
> > in libcpmtd.lib(newaop.obj)
> >
> > MAUA error LNK2005: "void __cdecl operator
> > delete[](void *)" (??_V@YAXPAX@Z) already defined in
> > LIBCMTD.lib(delete2.obj)
> >
> > MAUA fatal error LNK1169: one or more multiply defined
> > symbols found
> >
> > The property of the project are listed below:
> >
> > Use of MFC: Use standard windows library
> > Run time library: Multi-threaded Debug (/MTd)
> >
> > The Visual C++.NET version is Version 7.1.3088. If I
> > changed Use of MFC to "Use MFC in static library or
> > Use MFC in shared DLL", more errors came out.
> >
> > Many thanks in advance,
> >
> > kaiduan
> >
> >
> >
> >
> > ______________________________________________________________________
> > Post your free ad now! http://personals.yahoo.ca
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> >
>