[quote=341257:@Stefan Adelsberger]Okay, at least some success now ;-).
I removed some “suspicious” controls from my WinMain and tried if the window would launch again.
As soon as I removed a HTMLViewer control (WebKit as renderer) the WinMain appears again as usual.
Problem found but what to do now :-)?
How to figure out what’s wrong with the HTMLViewer control?
I’ll try to create a small demo project.[/quote]
Does it work if you change the renderer to Native?
[quote=341284:@Stefan Adelsberger]It works with the native renderer.
Unfortunately this is no solution for us. We need the WebKit renderer.[/quote]
It would be helpful if you could run WinDbg.exe, get a crash log and file a bug report in Feedback.
FWIW, I have found very few things that actually need the WebKit renderer any more. If the user has IE11 installed, it’s a relatively easy registry entry to force your app to use that as its renderer. Would that help you?
[quote=341290:@Greg O’Lone]It would be helpful if you could run WinDbg.exe, get a crash log and file a bug report in Feedback.
FWIW, I have found very few things that actually need the WebKit renderer any more. If the user has IE11 installed, it’s a relatively easy registry entry to force your app to use that as its renderer. Would that help you?[/quote]
This is all I get before the app stops working … does this help?
Please tell me which registry entry has to be set to force IE11.
I’ll give it a try and see if it satisfies our needs.[/quote]
You can either do it in app.open:
#if TargetWindows
Dim reg As New RegistryItem("HKEY_CURRENT_USER\\SOFTWARE\\Microsoft")
reg = reg.AddFolder("Internet Explorer")
reg = reg.AddFolder("Main")
reg = reg.AddFolder("FeatureControl")
reg = reg.AddFolder("FEATURE_BROWSER_EMULATION")
reg.Value(App.ExecutableFile.Name) = &h2af9 ' IE 11 renderer
#endif
Windows 7 shipped with IE 8, what happens if you set this value and the user was a horrible upgrader and never made it to IE 11? I admit they are wide open for security issues, but hey it’s an end user you can never assume anything. Will this break the HTML viewer entirely if using native and ie 11 is not on their machine?
[quote=341296:@Greg O’Lone]You can either do it in app.open:
#if TargetWindows
Dim reg As New RegistryItem("HKEY_CURRENT_USER\\SOFTWARE\\Microsoft")
reg = reg.AddFolder("Internet Explorer")
reg = reg.AddFolder("Main")
reg = reg.AddFolder("FeatureControl")
reg = reg.AddFolder("FEATURE_BROWSER_EMULATION")
reg.Value(App.ExecutableFile.Name) = &h2af9 ' IE 11 renderer
#endif
On run do a check and if they dont have what you require (like IE11) say so and refuse to run.
Trying to “support” old versions that will make your life hell (or worse make your software look bad) is a losing proposition.
People still run XP, I hope none of my users will be one of them. Is there an easy way to find the Internet Explorer version installed?
[quote=342319:@Norman Palardy]On run do a check and if they dont have what you require (like IE11) say so and refuse to run.
Trying to “support” old versions that will make your life hell (or worse make your software look bad) is a losing proposition.[/quote]
Unfortunately the same customer just called that it doesn’t work on a different computer.
Also Windows 7 SP 1 and although I’m using native renderer now instead of WebKit.
Same crash log in WinDbg:
[quote=347139:@Stefan Adelsberger]Unfortunately the same customer just called that it doesn’t work on a different computer.
Also Windows 7 SP 1 and although I’m using native renderer now instead of WebKit.
Same crash log in WinDbg: