Help! One last snag found.
CEF browser does not work when called with my standalone MyApplication (residing in the Temp folder with its Externals folder) on Windows when launched by another standalone LaunchApp (from flash drive or Desktop). But, when LaunchApp STACK (while running in LC) launches the same standalone MyApplication from a flash drive or standalone MyApplication is double clicked manually to launch it, CEF browser works fine. Non-CEF browser works fine on all occasions. For Mac, there are no problems with either CEF or non-CEF browsers using standalones made at the same time as Windows.
Fails at this line: put revBrowserOpenCef(tWindowId, tPath) into tBrowserId
No browser gets opened (which should open even if content is not at hand) and it never gets to the next script, which is just an answer script to see if it got that far. This error message is not activated because it never gets there:
Code: Select all
if tBrowserId is not an integer then
answer "Error opening browser: " & tBrowserId
exit altBrowserOn
end if
Is there a special request needed in Windows for an app to launch another app so that it has access to its Externals folder.'
Update: Just tried launching with this shell command and same problem, launched standalone but no CEF will load when called:
Code: Select all
put "start" && quote"e && quote& "C:/Users/Steve Collins/AppData/Local/Temp/EdelbrockWin/Windows/Edelbrock.exe" & quote into myStart
get shell(myStart)
Also noticed, when standalone MyApplication is launched directly or via stack launch script, in addition to CEF working, a debug document is created in the same directory as the standalone MyApplication and externals at launch before using CEF:
[0321/102620:WARNING:resource_bundle.cc(286)] locale_file_path.empty()
[0321/102620:ERROR:main_delegate.cc(550)] Could not load locale pak for en-US
[0321/102621:WARNING:resource_bundle.cc(286)] locale_file_path.empty()
[0321/102621:ERROR:main_delegate.cc(550)] Could not load locale pak for en-US
[0321/102621:WARNING:resource_bundle.cc(286)] locale_file_path.empty()
[0321/102621:ERROR:main_delegate.cc(550)] Could not load locale pak for en-US
[0321/102621:ERROR:renderer_main.cc(227)] Running without renderer sandbox
[0321/102621:ERROR:audio_low_latency_output_win.cc(169)] Bailing out due to non-perfect timing. Buffer size of 480 is not an even divisor of 1056
[0321/102906:WARNING:resource_bundle.cc(286)] locale_file_path.empty()
[0321/102906:ERROR:main_delegate.cc(550)] Could not load locale pak for en-US
[0321/102906:ERROR:renderer_main.cc(227)] Running without renderer sandbox
Could it be something is preventing the use of the standalone MyApplication's externals when there are errors and launched by remote app?
Update: No problems on Windows XP. Above is with Windows 10 on a new machine, no virus protection that I noticed, older model chip.