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

时间:2011-10-08 15:21:07

标签: delphi delphi-2009 xulrunner gecko

在Delphi 2009 app中使用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中出错的原因是什么?

1 个答案:

答案 0 :(得分:1)

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