Welcome Guest Search | Active Topics | Sign In | Register

Exception in Create Options
Lionello Giampaolo PROMETEO SRL
Posted: Wednesday, November 10, 2021 3:49:00 AM
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
eo_support
Posted: Wednesday, November 10, 2021 10:54:21 AM
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.aspx

Thanks!
Lionello Giampaolo PROMETEO SRL
Posted: Wednesday, November 10, 2021 11:19:04 AM
Rank: Member
Groups: Member

Joined: 11/8/2021
Posts: 21
Yes, WebView.Create.
Version: 21.2.70.0
The Worker process is enabled
eo_support
Posted: Wednesday, November 10, 2021 11:22:10 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
eo_support wrote:
What is the call stack below WebView.Create?
Lionello Giampaolo PROMETEO SRL
Posted: Wednesday, November 10, 2021 11:46:15 AM
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
eo_support
Posted: Wednesday, November 10, 2021 12:58:18 PM
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!
Lionello Giampaolo PROMETEO SRL
Posted: Thursday, November 11, 2021 2:58:00 AM
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!!
eo_support
Posted: Thursday, November 11, 2021 9:52:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Glad that you found the problem!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.