Apps not running on Windows 7 SP 1

[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?

It works with the native renderer.
Unfortunately this is no solution for us. We need the WebKit renderer.

[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?

ModLoad: 00000000`742c0000 00000000`742c5000 C:\\Windows\\SysWOW64\\SHFOLDER.DLL ModLoad: 00000000`69420000 00000000`69495000 C:\\Windows\\SysWOW64\\DPFPApi.dll ModLoad: 00000000`6aeb0000 00000000`6aef2000 C:\\Windows\\SysWOW64\\DPCLBACK.dll ModLoad: 00000000`6ae90000 00000000`6aea1000 C:\\Windows\\SysWOW64\ETAPI32.dll ModLoad: 00000000`6af70000 00000000`6af79000 C:\\Windows\\SysWOW64\ etutils.dll ModLoad: 00000000`6ae60000 00000000`6ae6f000 C:\\Windows\\SysWOW64\\wkscli.dll ModLoad: 00000000`69420000 00000000`69495000 C:\\Windows\\SysWOW64\\DPFPApi.dll ModLoad: 00000000`08fd0000 00000000`0912d000 C:\\Windows\\SysWOW64\\ole32.dll ModLoad: 00000000`70870000 00000000`708ac000 C:\\Windows\\SysWOW64\\mswsock.dll ModLoad: 00000000`70860000 00000000`70865000 C:\\Windows\\SysWOW64\\wshtcpip.dll ModLoad: 00000000`6d450000 00000000`6d460000 C:\\Windows\\SysWOW64\LAapi.dll ModLoad: 00000000`6d440000 00000000`6d450000 C:\\Windows\\SysWOW64\ apinsp.dll ModLoad: 00000000`6d420000 00000000`6d432000 C:\\Windows\\SysWOW64\\pnrpnsp.dll ModLoad: 00000000`6d3d0000 00000000`6d414000 C:\\Windows\\SysWOW64\\DNSAPI.dll ModLoad: 00000000`6d3c0000 00000000`6d3c8000 C:\\Windows\\SysWOW64\\winrnr.dll ModLoad: 00000000`6c3e0000 00000000`6c401000 C:\\Program Files (x86)\\Bonjour\\mdnsNSP.dll ModLoad: 00000000`6c120000 00000000`6c158000 C:\\Windows\\SysWOW64\\fwpuclnt.dll ModLoad: 00000000`6c160000 00000000`6c166000 C:\\Windows\\SysWOW64\\rasadhlp.dll ModLoad: 00000000`55140000 00000000`55146000 C:\\Windows\\SysWOW64\\RICHED32.DLL ModLoad: 00000000`59500000 00000000`59576000 C:\\Windows\\SysWOW64\\RICHED20.dll ModLoad: 00000000`51b90000 00000000`51c24000 C:\\Windows\\SysWOW64\\msftedit.DLL (2aec.2b60): Unknown exception - code c06d007e (first chance)

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=341293:@Stefan Adelsberger]This is all I get before the app stops working … does this help?

ModLoad: 00000000`742c0000 00000000`742c5000 C:\\Windows\\SysWOW64\\SHFOLDER.DLL ModLoad: 00000000`69420000 00000000`69495000 C:\\Windows\\SysWOW64\\DPFPApi.dll ModLoad: 00000000`6aeb0000 00000000`6aef2000 C:\\Windows\\SysWOW64\\DPCLBACK.dll ModLoad: 00000000`6ae90000 00000000`6aea1000 C:\\Windows\\SysWOW64\ETAPI32.dll ModLoad: 00000000`6af70000 00000000`6af79000 C:\\Windows\\SysWOW64\ etutils.dll ModLoad: 00000000`6ae60000 00000000`6ae6f000 C:\\Windows\\SysWOW64\\wkscli.dll ModLoad: 00000000`69420000 00000000`69495000 C:\\Windows\\SysWOW64\\DPFPApi.dll ModLoad: 00000000`08fd0000 00000000`0912d000 C:\\Windows\\SysWOW64\\ole32.dll ModLoad: 00000000`70870000 00000000`708ac000 C:\\Windows\\SysWOW64\\mswsock.dll ModLoad: 00000000`70860000 00000000`70865000 C:\\Windows\\SysWOW64\\wshtcpip.dll ModLoad: 00000000`6d450000 00000000`6d460000 C:\\Windows\\SysWOW64\LAapi.dll ModLoad: 00000000`6d440000 00000000`6d450000 C:\\Windows\\SysWOW64\ apinsp.dll ModLoad: 00000000`6d420000 00000000`6d432000 C:\\Windows\\SysWOW64\\pnrpnsp.dll ModLoad: 00000000`6d3d0000 00000000`6d414000 C:\\Windows\\SysWOW64\\DNSAPI.dll ModLoad: 00000000`6d3c0000 00000000`6d3c8000 C:\\Windows\\SysWOW64\\winrnr.dll ModLoad: 00000000`6c3e0000 00000000`6c401000 C:\\Program Files (x86)\\Bonjour\\mdnsNSP.dll ModLoad: 00000000`6c120000 00000000`6c158000 C:\\Windows\\SysWOW64\\fwpuclnt.dll ModLoad: 00000000`6c160000 00000000`6c166000 C:\\Windows\\SysWOW64\\rasadhlp.dll ModLoad: 00000000`55140000 00000000`55146000 C:\\Windows\\SysWOW64\\RICHED32.DLL ModLoad: 00000000`59500000 00000000`59576000 C:\\Windows\\SysWOW64\\RICHED20.dll ModLoad: 00000000`51b90000 00000000`51c24000 C:\\Windows\\SysWOW64\\msftedit.DLL (2aec.2b60): Unknown exception - code c06d007e (first chance)

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

or as a registry entry in your installer config:

Root: HKCU; Subkey: "SOFTWARE\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION"; ValueType: dword; ValueName: "YourAppNameHere.exe"; ValueData: "$00002AF9"

Thank you - I’ll take a look at this but this should be only a temporary solution.
Normally we want to use WebKit as renderer.

What about the crash log?
Should I file a bug report with this info?

[quote=341309:@Stefan Adelsberger]What about the crash log?
Should I file a bug report with this info?[/quote]

[quote=341296:@Greg O’Lone][/quote] ?

[quote=342035:@Stefan Adelsberger]@Stefan Adelsberger What about the crash log?
Should I file a bug report with this info?
@Greg O’Lone
?[/quote]

Feedback can be download from here: http://www.xojo.com/download/extras.php

I know.
I just wanted to know if it makes sense to file a bugreport with the provided information above and without a sample project.

File what you have, while a sample application would be nice, if they need one I imagine they will ask for one in the feedback.

<https://xojo.com/issue/48860>

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

or as a registry entry in your installer config:

Root: HKCU; Subkey: "SOFTWARE\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION"; ValueType: dword; ValueName: "YourAppNameHere.exe"; ValueData: "$00002AF9"

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]

What happens is that their system runs in with the latest experimental features available with that release.

The best solution would be a bug fix when using WebKit ;-P.

But anyway - I pick up Tony’s question:

The generally accepted way to determine the IE version is to look in the registry. Here is some information on the topic.

edit: That may not be so easy with a webapp…

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:

ModLoad: 66130000 66161000 C:\\Windows\\SysWOW64\\EhStorShell.dll ModLoad: 06540000 0669d000 C:\\Windows\\SysWOW64\\ole32.dll ModLoad: 75530000 7555f000 C:\\Windows\\syswow64\\WINTRUST.dll ModLoad: 76bf0000 76d11000 C:\\Windows\\syswow64\\CRYPT32.dll ModLoad: 76a50000 76a5c000 C:\\Windows\\syswow64\\MSASN1.dll ModLoad: 51a80000 523a6000 C:\\Windows\\SysWOW64\\igd10iumd32.dll ModLoad: 71a20000 71a37000 C:\\Windows\\SysWOW64\\bcrypt.dll ModLoad: 6f8a0000 6f8d9000 C:\\Windows\\SysWOW64\ crypt.dll ModLoad: 5be60000 5c1a7000 C:\\Windows\\SysWOW64\\igdusc32.dll ModLoad: 74090000 740cc000 C:\\Windows\\SysWOW64\\mswsock.dll ModLoad: 74080000 74085000 C:\\Windows\\SysWOW64\\wshtcpip.dll ModLoad: 6ffa0000 6ffb0000 C:\\Windows\\SysWOW64\LAapi.dll ModLoad: 6ff90000 6ffa0000 C:\\Windows\\SysWOW64\ apinsp.dll ModLoad: 6ff70000 6ff82000 C:\\Windows\\SysWOW64\\pnrpnsp.dll ModLoad: 6ff20000 6ff64000 C:\\Windows\\SysWOW64\\DNSAPI.dll ModLoad: 6ff10000 6ff18000 C:\\Windows\\SysWOW64\\winrnr.dll ModLoad: 6fee0000 6ff01000 C:\\Program Files (x86)\\Bonjour\\mdnsNSP.dll ModLoad: 6fe60000 6fe98000 C:\\Windows\\SysWOW64\\fwpuclnt.dll ModLoad: 6fe50000 6fe56000 C:\\Windows\\SysWOW64\\rasadhlp.dll ModLoad: 66840000 66846000 C:\\Windows\\SysWOW64\\RICHED32.DLL ModLoad: 72690000 72706000 C:\\Windows\\SysWOW64\\RICHED20.dll ModLoad: 721d0000 72264000 C:\\Windows\\SysWOW64\\msftedit.DLL (6708.6768): Unknown exception - code c06d007e (first chance)

Any ideas???

?

[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:

ModLoad: 66130000 66161000 C:\\Windows\\SysWOW64\\EhStorShell.dll ModLoad: 06540000 0669d000 C:\\Windows\\SysWOW64\\ole32.dll ModLoad: 75530000 7555f000 C:\\Windows\\syswow64\\WINTRUST.dll ModLoad: 76bf0000 76d11000 C:\\Windows\\syswow64\\CRYPT32.dll ModLoad: 76a50000 76a5c000 C:\\Windows\\syswow64\\MSASN1.dll ModLoad: 51a80000 523a6000 C:\\Windows\\SysWOW64\\igd10iumd32.dll ModLoad: 71a20000 71a37000 C:\\Windows\\SysWOW64\\bcrypt.dll ModLoad: 6f8a0000 6f8d9000 C:\\Windows\\SysWOW64\ crypt.dll ModLoad: 5be60000 5c1a7000 C:\\Windows\\SysWOW64\\igdusc32.dll ModLoad: 74090000 740cc000 C:\\Windows\\SysWOW64\\mswsock.dll ModLoad: 74080000 74085000 C:\\Windows\\SysWOW64\\wshtcpip.dll ModLoad: 6ffa0000 6ffb0000 C:\\Windows\\SysWOW64\LAapi.dll ModLoad: 6ff90000 6ffa0000 C:\\Windows\\SysWOW64\ apinsp.dll ModLoad: 6ff70000 6ff82000 C:\\Windows\\SysWOW64\\pnrpnsp.dll ModLoad: 6ff20000 6ff64000 C:\\Windows\\SysWOW64\\DNSAPI.dll ModLoad: 6ff10000 6ff18000 C:\\Windows\\SysWOW64\\winrnr.dll ModLoad: 6fee0000 6ff01000 C:\\Program Files (x86)\\Bonjour\\mdnsNSP.dll ModLoad: 6fe60000 6fe98000 C:\\Windows\\SysWOW64\\fwpuclnt.dll ModLoad: 6fe50000 6fe56000 C:\\Windows\\SysWOW64\\rasadhlp.dll ModLoad: 66840000 66846000 C:\\Windows\\SysWOW64\\RICHED32.DLL ModLoad: 72690000 72706000 C:\\Windows\\SysWOW64\\RICHED20.dll ModLoad: 721d0000 72264000 C:\\Windows\\SysWOW64\\msftedit.DLL (6708.6768): Unknown exception - code c06d007e (first chance)

Any ideas???[/quote]
Wait, above you said that it does work with the renderer set to Native. Now it’s not?