Crash when revCloseBrowser
William Prothero
prothero at earthednet.org
Mon Jan 12 01:47:30 EST 2015
Folks:
Is anybody using the browser window in Windows? I get a crash on revBrowserClose, in a standalone. It works in the IDE. The browser opens and loads the web page, a simple text page then crashes the app when I close it. I’m on Windows 7, 64 bit, Livecode 7.0.1, using Parallels 10 on Yosemite. The CEF version of the browser also crashes the app when I try to close it.
This is the last issue before I have a first version of a standalone app that works on Mac and PC desktops. For now, unless somebody has a bright idea, I’ll have to launch the default browser on Windows systems to get what I want, which is lame.
I’ll submit a bug report unless someone points out an error in my code.
When I open the browser:
put the windowID of this stack into tWinID
put revBrowserOpen(tWinID,helpURL) into sBrowserID
—When I close the browser
on closeBrowser
put revBrowserInstances() into tInstances
repeat for each item tInst in tInstances
if tInstances is not empty then
revBrowserClose tInst
end if
end repeat
end closeBrowser
Regards,
Bill
William A. Prothero
http://es.earthednet.org/
More information about the use-livecode
mailing list