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

Re: [sipxtapi-dev] executables on another PC


It is correct to use the multithreaded Visual C libraries -- if you don't, you will have errors - as the non-multithreaded libraries are not reentrant (when multiple threads call into the Microsoft visual C routines, both threads then would have a chance at running code that accesses the same structures at the same time -- the reentrant versions of the libraries ensure that that doesn't happen).

It is perfectly acceptable, however, to use the statically linked MT libraries (Multithreaded) vs the dynamically linked ones (Multithreaded-DLL).  Just bear in mind that your executable size will be much larger, as it pulls in all of the MS Visual C libraries that are used into the executable itself.

On Thu, Jun 19, 2008 at 1:41 PM, Karsten Schubotz <Karstenvip@xxxxxx> wrote:
Hi all,

I compiled sipXtapi with visual c++ 2005 error free and
would like to use the generated executables on another PC without
visual c++ 2005 installation. I copied all necessary system dll's, however I got
the error message that the side by side configuration information
contains errors. I choose the option "not embedded manifest".
By the help of the package "vcredist_x86" eventually, the problem could be solved,
but I would like to avoid additional installations.
By setting the runtime library to Multithread instead of Multithread- DLL
the error went away, but so far I did not know, if  there occur some other
disadvantages. Is it reasonable to choose "Multithread" ?
Thank you very much for your advices!

Regards
Karsten

--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
_______________________________________________
sipxtapi-dev mailing list
sipxtapi-dev@xxxxxxxxxxxxxxxxxxx
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/



--
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000