John Michael Williams
2010-08-04 02:42:10 UTC
Hi All.
I'm new to this list, and I have a comment related to headers;
however, I am not sure whether libdvdcss is directly relevant.
When I try to test recent VLC trunk v. 1.2.0 on Windows 2000, the
application fails with the error message described below.
Shouldn't the v. 1.2.0 headers be modified as indicated?
--
John Michael Williams
***@BasicISP.net
Found at http://support.microsoft.com/kb/955045
I'm new to this list, and I have a comment related to headers;
however, I am not sure whether libdvdcss is directly relevant.
When I try to test recent VLC trunk v. 1.2.0 on Windows 2000, the
application fails with the error message described below.
Shouldn't the v. 1.2.0 headers be modified as indicated?
--
John Michael Williams
***@BasicISP.net
Found at http://support.microsoft.com/kb/955045
Create a VC++ console-based application that links statically with MFC and execute it on the Windows Server 2000 (or earlier) operating system.
Back to the top
Result
"The procedure entry point getaddrinfo could not be located in the dynamic link library WS2_32.dll"
Cause
The getaddrinfo (http://msdn.microsoft.com/en-us/library/ms738520.aspx) function was added to the Ws2_32.dll on Windows XP and later.
Resolution
To execute an application using this function on earlier versions of Windows (Windows 2000, Windows NT, and Windows Me/98/95), then it is mandatary to #include Ws2tcpip.h and also Wspiapi.h. When the Wspiapi.h header file is included, the 'getaddrinfo' function is #defined to the 'WspiapiGetAddrInfo' inline function in Wspiapi.h. At runtime, the 'WspiapiGetAddrInfo' function is implemented in such a way that if the Ws2_32.dll or the Wship6.dll (the file containing getaddrinfo in the IPv6 Technology Preview for Windows 2000) does not include 'getaddrinfo', then a version of 'getaddrinfo' is implemented inline based on code in the Wspiapi.h header file. This inline code will be used on older Windows platforms that do not natively support the 'getaddrinfo' function.
Back to the top
Result
"The procedure entry point getaddrinfo could not be located in the dynamic link library WS2_32.dll"
Cause
The getaddrinfo (http://msdn.microsoft.com/en-us/library/ms738520.aspx) function was added to the Ws2_32.dll on Windows XP and later.
Resolution
To execute an application using this function on earlier versions of Windows (Windows 2000, Windows NT, and Windows Me/98/95), then it is mandatary to #include Ws2tcpip.h and also Wspiapi.h. When the Wspiapi.h header file is included, the 'getaddrinfo' function is #defined to the 'WspiapiGetAddrInfo' inline function in Wspiapi.h. At runtime, the 'WspiapiGetAddrInfo' function is implemented in such a way that if the Ws2_32.dll or the Wship6.dll (the file containing getaddrinfo in the IPv6 Technology Preview for Windows 2000) does not include 'getaddrinfo', then a version of 'getaddrinfo' is implemented inline based on code in the Wspiapi.h header file. This inline code will be used on older Windows platforms that do not natively support the 'getaddrinfo' function.