delphi - xul.dll和图像中的异常未在delphi应用程序内的gecko浏览器中显示

标签 delphi delphi-2009 xulrunner gecko

在Delphi 2009应用程序中使用xulrunner(gecko sdk)v1.9.1.4127浏览器
它成功运行并打开了请求的页面,但是...没有图像!另外,在日志中,我可以看到,该服务器已将所有HTML中使用的图像发送到浏览器!

这里的日志:

[08.10.2011 19:00:09]: Got command: index.html
[08.10.2011 19:00:09]: running game....
[08.10.2011 19:00:09]: s! Content-type: text/html, size: 31990
[08.10.2011 19:00:10]: browser: Waiting for 127.0.0.1…
[08.10.2011 19:00:10]: browser: 
[08.10.2011 19:00:10]: Access violation at address 014DF56D in module 'xul.dll'. Read of address 00000014
[08.10.2011 19:00:10]: browser: Transferring data from 127.0.0.1…
[08.10.2011 19:00:10]: browser: Waiting for 127.0.0.1…
[08.10.2011 19:00:10]: Got command: game.css
[08.10.2011 19:00:10]: Content-type: text/css
[08.10.2011 19:00:10]: s! Content-type: text/css, size: 5124
[08.10.2011 19:00:10]: browser: Transferring data from 127.0.0.1…
...
[08.10.2011 19:00:10]: Got command: data/images/loading.gif
[08.10.2011 19:00:10]: Content-type: image/gif
[08.10.2011 19:00:10]: s! Content-type: image/gif, size: 9370
[08.10.2011 19:00:10]: browser: Transferring data from 127.0.0.1…
[08.10.2011 19:00:10]: browser: Connecting to 127.0.0.1…
[08.10.2011 19:00:10]: browser: Waiting for 127.0.0.1…
[08.10.2011 19:00:10]: Got command: jsiq.css
[08.10.2011 19:00:10]: Content-type: text/css
[08.10.2011 19:00:10]: s! Content-type: text/css, size: 422
[08.10.2011 19:00:10]: Got command: data/images/title.png
[08.10.2011 19:00:10]: Content-type: image/png
[08.10.2011 19:00:10]: s! Content-type: image/png, size: 27783
[08.10.2011 19:00:10]: Got command: data/images/defense/ac.jpg
[08.10.2011 19:00:10]: Content-type: image/jpg
[08.10.2011 19:00:10]: s! Content-type: image/jpg, size: 1912


我已经尝试了xulrunner的另一个版本(1.9.2.4259,1.9.2.4280),但是它们在js3250.dll中出现错误:
该如何解决呢?或者,如何知道-xul.dll错误的原因是什么?

最佳答案

当然,问题很容易解决:)
HTTPServer通过字符串提供所有文件数据,然后更改为通过流提供服务-一切都变得正常

关于delphi - xul.dll和图像中的异常未在delphi应用程序内的gecko浏览器中显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7697753/

相关文章:

delphi - 如果另一端没有从套接字读取数据,如何避免在 Indy 中写入套接字时卡住

javascript - 当工作站被锁定时收到通知

ruby-on-rails - Aptana Studio 和 XULRunner 8.1 的问题

java - 没有更多句柄 [无法检测到要使用的已注册 XULRunner]

delphi - 为什么如果通过变量向数据库添加值,则会添加 “ADOQuery1”,如果直接添加,则会添加正确的值?

delphi - 我如何读取WMI参数 "Data"和 "InsertionStrings"?

sql-server - 打开 ADOQuery 时是否可以显示它的记录?

Delphi将项目从2009升级到XE时出现 "E2064 Left side cannot be assigned to"错误

delphi - 如何禁用/隐藏表单中的图标?

delphi - 将支持 unicode 的 Delphi 2006 应用程序移植到 Delphi 2009