delphi - How can i fix this error on updating Indy 10 on Delphi 2007
问题描述
I'm trying to update Indy on my fresh Windows 10 / Delphi 2007 installation. I've download the sources from the official github mirror.
But when i try to compile IndySystem110.bpl, i get lot of errors :
[DCC Error] IdGlobal.pas(2926): E2003 Undeclared identifier: 'TCPInfoEx'
[DCC Error] IdGlobal.pas(2943): E2003 Undeclared identifier: 'GetCPInfoEx'
[DCC Error] IdGlobal.pas(2957): E2066 Missing operator or semicolon
[DCC Error] IdGlobal.pas(2958): E2066 Missing operator or semicolon
[DCC Error] IdGlobal.pas(8471): E2280 Unterminated conditional directive
Maybe i download the wrong source ? What should i do ?
Thanks
解决方案
推荐阅读
- c# - 如何解决“服务不可用,正在关闭传输通道。服务器响应为:服务器忙,连接太多”
- sql - How to insert data with custom enum type from a csv into an existing PostgreSQL table
- javascript - 将 JSON 数组传递给按钮 jQuery 的动态创建的 onclick 方法
- html - 弹性框问题 - 中心元素在溢出时被截断
- java - 如何转换列表
列出 安卓 - ruby-on-rails - Heroku 上全新 Rails 5.2.1 应用程序中的 Javascript 无法正常工作
- spotfire - 按需表达式以限制最大每月数据
- python - ValueError:输入 0 与层 lstm_55 不兼容:预期 ndim=3,发现 ndim=2
- rxjs - Angular 6发送请求一次
- python-3.x - Python MySQLdb 通过自定义端口连接到 Wamp 服务器