|
Rank: Member Groups: Member
Joined: 11/8/2021 Posts: 21
|
Hello, I'm testing your product. My goal is to remake VB6's WebBrowser control. I have already done some tests and if I compile and use the EXE it works. However, I have problems with the visual studio 6 IDE. If I run the application it generates this error on the .NET side:
Child process exited unexpectedly.
StackTrace: in EO.Internal.gltu.rlzm(Exception nnq, Boolean nnr) in EO.Internal.gltu.rlzl(glpr nnn) in EO.Internal.gltu.rlyw(Boolean& nmk, gltx[] nml, String nmm, String nmn) in EO.Internal.gltu.jeul(gltx[] nmh, String nmi, String nmj) in EO.Internal.gltv.jeul(String nrl, String nrm) in EO.Internal.bagi.vpfh() in EO.Internal.bagi.mwgk.ixas() in EO.Internal.glph.ahno(Action lul) in EO.Internal.bagi.bpnm(WindowsIdentity fu) in EO.WebEngine.Engine.Start(WindowsIdentity user) in EO.WebEngine.Engine.Start() in EO.Internal.bagi.vpfg() in EO.Internal.ccvo..ctor(WebView d) in EO.WebBrowser.WebView.pkmy() in EO.WebBrowser.WebView.pkmy(IntPtr fe, Boolean ff) in EO.WebBrowser.WebView.Create(IntPtr hWnd)
What can it be? Suggestions?
Before purchasing the license I would like to solve this problem otherwise it would be very difficult to develop and test the product.
Thanks Kind regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, What is the call stack below WebView.Create? What version do you use? Have you tried to enable EO Worker process? https://www.essentialobjects.com/doc/common/eowp.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 11/8/2021 Posts: 21
|
Yes, WebView.Create. Version: 21.2.70.0 The Worker process is enabled
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
eo_support wrote:What is the call stack below WebView.Create?
|
|
Rank: Member Groups: Member
Joined: 11/8/2021 Posts: 21
|
Visual Studio 6 IDE VB6 .NET Class: Public Sub Initialize(ByVal hWnd As Integer) If Not bInitialized Then 'EO.WebBrowser.Runtime.AddLicense("your_license_code") EO.Base.Runtime.EnableEOWP = True
m_WebView = New EO.WebBrowser.WebView With { .InputMsgFilter = Nothing, .ObjectForScripting = Nothing, .Title = "Atlante" }
m_WebView.Create(hWnd)
bInitialized = True End If End Sub
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
Your code looks fine. There must be something else on your system that interfere with eowp.exe. You can try a few different things:
1. Place eowp.exe directly inside the same folder where your application runs. For example, if you are debugging your application and the output directory is "Debug" folder, then you should put eowp.exe file there. You do not need to set EnableEOWP in this case;
2. Run our TabbedBrowser sample application directly from installer folder and see if that works.
3. Check your system's event log to see if you can find any entries about eowp.exe being killed/crashed and if you see any, please provide details in those entries.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 11/8/2021 Posts: 21
|
I found the problem. Windows XP compatibility mode was enabled in the properties of VB6.EXE Now it also works from the Visual Studio 6 IDE.
Thanks!!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Glad that you found the problem!
|
|