Porting to visual studio..
Cesc
cesc.santa at gmail.com
Mon Sep 25 16:29:03 CEST 2006
Hi Philippe,
see inline ...
On 9/25/06, Philippe Torrelli <philippe.torrelli at alcatel.fr> wrote:
> Hello,
>
> Still in the process of trying to compile an activeX out of the 2776
> snapshot of minisip, I created a project for Visual Studio 2005 that allows
> me to build minisip_textui ( lots of source tweaking had to be done but
> nothing really tricky )…
>
nice
> * If I manage to have a working result, does it make sense I extract and
> send the changes I made to the source tree so that it can be merged in
> current snapshots? Or is it just out of scope?
>
no, it is not out of scope.
You should try to implement your changes in such a way that it does
not break other compilation platforms ... anyway, you can't never be
100% sure, just do your best.
Merging is always the best option, as this way changes can be managed
easily and be updated.
If you need to do a veeeery platform/compiler dependent trick, apply
some #ifdef so it is only done while using VS2005.
Once you are done, please send not only the patch but also a
HowTo/README doc so that other users can easily follow and repeat your
steps. This can be placed in the Documentation folder in the svn.
A question ... what GUI do you plan to use? Are you going to develop
your own phone-like app for windows or was it CE? we'd be really
interested in getting a LGPL'd/GPL'd version of that :)
> * I noticed the sip ids were not random but always remained the same.
> Tracing a bit with zixel phones and third party soft phone, I made sure that
> other client implementation assign 'unique' call ids…
> I don't know if it's the same on other build environment, but the
> Multithreaded version of microsoft implementation of rand() needs to be
> srand'ed in every thread ( and in particular in the one created by
> Sip->start() ) …
> Is this behavior only on visual studio ?
> Sorry if this issue is only on my side, or has been fixed since 2776 .
>
We never noticed that, so you may want to modify the implementation of
libmutil MThread class and initialize the srand function ... All this
can go in the VS2005 patch you provide us when done.
> Philippe Torrelli
>
>
>
Again, tks!
Cesc
More information about the Minisip-devel
mailing list