WS2_32_XP
1.0.0
启动使用RAD Studio 10.2更新2在Windows XP中编写的运行时软件包构建的应用程序时,一个错误提示
The procedure entry point inet_pton could not be located in the dynamic link library ws2_32.dll.
该应用程序从Windows Vista开始运行良好。
如Inetpton功能中所述:
The InetPton function is supported on Windows Vista and later.
RAD Studio 10.2 Update 2在Unit Windows.WinSock2.pas中具有新的更新:
function inet_pton; external ws2_32 name 'inet_pton';
启动应用程序时,该功能是静态绑定的。无法轻松修补源代码。快速解决解决方案将作为单个可执行文件而不是运行时软件包构建应用程序。
该项目尝试将代理函数定义为原始Windows XP的WS2_32.dll的所有导出功能,包括Windows XP的WS2_32.dll中缺少的inet_pton 。它欺骗了Windows XP应用程序过程,以为inet_pton可用,并且不会引起任何错误。
请注意,DLL仅部署到Windows XP。