philippe_44 wrote: 
> Thanks - BTW, the difficulty is if you try to use the libupnp
> inet_pton.c and .h that are provided by libupnp (instead of the built-in
> winsock one) the declaration is not matching the one in ws2tcpip.h and
> then you enter into all sort of problems as, in my case, ws2tcpip.h
> wants to declare inet_pton and inet_ntop due to the windows version
> declared earlier. If I  change the windows version number or try to
> change libupnp declaration,, then all sort of other errors and warning
> show up

Here's how I managed to get a working XP version with VC 2008 express.

Define _WIN32_WINNT=0x0501 and WINVER=0x0501, include inet_pton.c in the
project and recompile all three static upnp libraries.

Then build squeeze2pnp as vista so you don't get the errors.

I also had to make the attached change to squeeze2upnp.c to get it to
compile with vc2008.

Still needs more testing, but so far it's working fine with the popcorn
hour.  If it plays through the night, I'll upload it tomorrow.


+-------------------------------------------------------------------+
|Filename: squeeze2upnp-vc2008.patch.txt                            |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17172|
+-------------------------------------------------------------------+


Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to