64-bit Winforms CEF?
Hi all, I've seen some conflicting comments, but is there a 64-bit version of the winforms control? We're dependent on it... is there a chance support will continue or are we at the end of the line?
I think you've got old code there somehow.
result = method.Description.Function(obj.Value, parameters); is very old code. Are you using code from https://github.com/jessicasco/CefSharp/tree/JsBinding_WIP or https://github.com/cefsharp/CefSharp/commits/JsBinding_WIP?
The code should look like https://github.com/cefsharp/CefSharp/blob/JsBinding_WIP/CefSharp/Internals/JavascriptObjectRepository.cs
As you'll see there is no result = method.Description.Function(obj.Value, parameters);
@amaitland I am using https://github.com/cefsharp/CefSharp/commits/JsBinding_WIP?
Yeah, the code is old I am now testing on new code.
DevToolsUrl now becomes "" in the newest JsBinding_WIP for my implementation, which is correct on old code.
@jessicasco Now your using the new code is everything working? I'm not sure sure what you mean about DevToolsUrl are you seeing a problem?
@amaitland yeah, I am the new code.
DevToolsUrl is to be
https://github.com/cefsharp/CefSharp/blob/JsBinding_WIP/CefSharp.WinForms/ChromiumWebBrowser.cs#L251 . It worked fine but now will be "".
@amaitland I tried to run the CefSharp.WinForms.Example under 64-bit. But CefSharp.BrowserSubprocess crashes. Please help check.
How are you calling DevToolsUrl it appears to work in both WinForms and WPF examples.
As for the 64bit sub process crash, the build targets hadn't been configured. Try again now.
@amaitland 64bit works fine now. A lot of my app works fine on cefsharp3 now. But I have noticed a problem that if I do nothing for a while, the BrowserSubprocess exe will crash.
@jessicasco What code branch are you using? Is it the latest version?
Also in your bin folder, does the debug.log file contain any information about the subprocess crash? You may need to change CefSettings.LogSeverity to LogSeverity.Verbose to get enough information.
Are you able to quantify a while?
There were some WCF timeout issues with a change merged here https://github.com/amaitland/CefSharp/commit/99040f9a1a4d4ec8028116b5ff4ce33e5f096fa4 that should hopefully fix them. Maybe unrelated, just something to consider.
@amaitland Could you help check if CefSharp1 could be compiled successfully and please tell me your environment.
I am now trying your WCF merge now and hope it will work.
@jessicasco For reference I've pushed a couple of packages to https://www.myget.org/F/amaitland-cefsharp/
There are packages for
- WinForms x86 and x64
- WPF x86 and x64
They haven't been very well tested, so I make no grantees. Simple way to install from nuget package manager console is:
Install-Package -IncludePrerelease CefSharp.WinForms.x64 -Source https://www.myget.org/F/amaitland-cefsharp/
They include all the latest code in my branch
Could you help check if CefSharp1 could be compiled successfully and please tell me your environment.
I don't really have anything to do with CefSharp1, what limited time I've got goes into CefSharp3
For that I compile with either VS2012 on Win7 or VS2013 on Win8.1
You'll probably have to manually install cef.redist before installing my packages as the latest nuget one doesn't contain a x64 version.
Install-Package -IncludePrerelease cef.redist -Version 3.1650.1562-pre0 -Source https://staging.nuget.org/api/v2/
Official packages have been released to nuget.org