"Amit" <amitranjan RemoveThis @nospam.visualsoft-tech.com> wrote in message news:<#jVFBgFnDHA.688@TK2MSFTNGP10.phx.gbl>...
> In your linker command line option Add /FORCE:MULTIPLE
> "Peter Alex" <peteralexbox RemoveThis @hotmail.com> wrote in message
> news:elI2CbFnDHA.2528@TK2MSFTNGP12.phx.gbl...
> > hi,
> >
> > I have same case as you last time.
> > however, tricky trying by removing coredll.dll from 'link' might solve
> > problem.
> >
> > I dont know either why it is....
> >
> > just hope it helps and useful
> >
> > b'regards,
> >
> > Peter alex
> >
> > "Yevgeniy" <yevgeniy RemoveThis @svu.co.il> wrote in message
> > news:d823f7f.0310230515.52fad81f@posting.google.com...
> > > Hi,
> > > I am developing a project in eVC for PocketPC 2002. I passed a
> > > compilation and linking process in 'debug' mode successfully, but in
> > > 'release' mode only compilation. Linking returned me error message:
> > >
> > > error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
> > > already defined in coredll.lib(COREDLL.dll)
> > > uafxwce.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator
> > > delete(void *)" (??3@YAXPAX@Z) already defined in
> > > coredll.lib(COREDLL.dll); second definition ignored
> > > Creating library ARMRel/SVSpeechCE_PPC2002.lib and object
> > > ARMRel/SVSpeechCE_PPC2002.exp
> > > ARMRel/SVSpeechCE_PPC2002.dll : fatal error LNK1169: one or more
> > > multiply defined symbols found
> > > Error executing link.exe.
> > >
> > > What's a reason?
> > > Thanks for any idea to fix this problem.
> > > Yevgeniy.
> >
> >
> >
> >
> >
> >
Hi, Alex Peter.
Both your advises helped me. At first I tried to remove coredll.lib
from link list of libraries - no errors, only 2 warnings in
release-mode. After that I left coredll.lib in list and added in
"project options" what your offered me in second answer:
/FORCE:MULTIPLE . Both cases works beautifully.
Thank your very much, Alex.
Yevgeniy.