我已经给出了将Gecko
浏览器组件集成到现有winform控件的任务,但是im面临的问题是如何配置dll,我尝试使用不同的版本作为好了,但没有运气,在点它不会加载的dll,并给出了错误如何使用Vb.NET Forms配置“Gecko”应用
Unable to find an entry point named 'NS_Alloc' in DLL 'xul'.
我从给定链路单独下载。 Xulrunner 最新的,也是29,但它说,
An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to load DLL 'xul': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Imports System.IO
进口的System.Xml 进口壁虎 进口的Microsoft.Win32
公共类Form1中
Public Sub New()
InitializeComponent()
'D:\xulrunner\bin
Xpcom.Initialize("D:\\xulrunner\\") 'xulrunner
'Xpcom.Initialize("C:\Program Files (x86)\Mozilla Firefox\")
End Sub
结束类别
请帮助我,如果任何人已经完成了。
顺便说一句,如果唯一的原因不使用WebBrowser控件的原因是它没有正确显示站点,请查看[此帖子](http://stackoverflow.com/a/38514446/3110834)。希望你觉得它有帮助:) –