about win32 port of libUPnP

"jackXiong" <[email protected]> Wed, 17 Nov 2004 17:35:12 +0800
Newsgroups gmane.linux.upnp-sdk.general
Message-ID <005101c4cc88$c0e6b460$4200a8c0@fengrxr>
Hi, James,

    I have downloaded the win32 port of upnp from your website, after compiled it under Visual C++6.0, I got the following error log:

--------------------Configuration: upnpLib - Win32 Debug--------------------
Compiling...
ThreadPool.c
f:\projects\upnp\sf\libupnp-kamiak-1.5.0\libupnp-kamiak-1.5.0\threadutil\src\threadpool.c(386) : error C2440: 'type cast' : cannot convert from 'struct ptw32_handle_t ' to 'unsigned int '
f:\projects\upnp\sf\libupnp-kamiak-1.5.0\libupnp-kamiak-1.5.0\threadutil\src\threadpool.c(386) : error C2198: 'srand' : too few actual parameters
sysdep.c
f:\projects\upnp\sf\libupnp-kamiak-1.5.0\libupnp-kamiak-1.5.0\upnp\src\uuid\sysdep.c(139) : error C2059: syntax error : 'bad suffix on number'
f:\projects\upnp\sf\libupnp-kamiak-1.5.0\libupnp-kamiak-1.5.0\upnp\src\uuid\sysdep.c(139) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned long ', possible loss of data
f:\projects\upnp\sf\libupnp-kamiak-1.5.0\libupnp-kamiak-1.5.0\upnp\src\uuid\sysdep.c(139) : error C2146: syntax error : missing ';' before identifier 'L'
f:\projects\upnp\sf\libupnp-kamiak-1.5.0\libupnp-kamiak-1.5.0\upnp\src\uuid\sysdep.c(139) : error C2065: 'L' : undeclared identifier
Generating Code...
Error executing cl.exe.

upnpLib.dll - 5 error(s), 1 warning(s)
---------------------------------------------------------------------------

I have no Visual C++.net installed, so could you please help me to find out the solution?

thanks in advance.


best regards
jackson