Code Monkey home page Code Monkey logo

Comments (6)

tuarua avatar tuarua commented on June 5, 2024

It should work on Windows 7.
Other people have been using Windows 7.
Are you using a real Windows 7 PC or using Windows 7 on a virtual machine ?

You will need to provide more logging. Saying the page doesn't display is not enough info to go on.
eg provide trace logs by adding event listeners
https://github.com/tuarua/WebViewANE/blob/master/example-desktop-complete/src/Main.as#L123
https://github.com/tuarua/WebViewANE/blob/master/example-desktop-complete/src/Main.as#L412

trace(event); // or write event to a txt file

I don't own a physical Windows 7 PC to test on. Windows 7 is not longer officially supported by Microsoft since January 2020 so I don't officially support it either.

from webviewane.

koreaflash avatar koreaflash commented on June 5, 2024

As a result of building with Windows 7, the following error occurs.

Error: Unable to load DLL 'shcore': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at flash.external::ExtensionContext/_call()
at flash.external::ExtensionContext/call()
at com.tuarua::WebView/init()[/Users/eoinlandy/flash/WebViewANE/native_extension/src/com/tuarua/WebView.as:98]
at WebViewExampleFlex/onWindowComplete()[D:\projects\WebViewANE-master\example-desktop-flex\src\WebViewExampleFlex.mxml:28]
at WebViewExampleFlex/___WebViewExampleFlex_WindowedApplication1_windowComplete()[D:\projects\WebViewANE-master\example-desktop-flex\src\WebViewExampleFlex.mxml:5]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/core/UIComponent.as:13688]
at spark.components::WindowedApplication/enterFrameHandler()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/airspark/src/spark/components/WindowedApplication.as:2388]

If you put the shcore.dll file in the C:\Windows folder, the following error occurs.

Error: An attempt was made to load a program in the wrong format.(Exception from HRESULT: 0x8007000B)
at flash.external::ExtensionContext/_call()
at flash.external::ExtensionContext/call()
at com.tuarua::WebView/init()[/Users/eoinlandy/flash/WebViewANE/native_extension/src/com/tuarua/WebView.as:98]
at WebViewExampleFlex/onWindowComplete()[D:\projects\WebViewANE-master\example-desktop-flex\src\WebViewExampleFlex.mxml:28]
at WebViewExampleFlex/___WebViewExampleFlex_WindowedApplication1_windowComplete()[D:\projects\WebViewANE-master\example-desktop-flex\src\WebViewExampleFlex.mxml:5]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/framework/src/mx/core/UIComponent.as:13688]
at spark.components::WindowedApplication/enterFrameHandler()[/Users/justinmclean/Documents/ApacheFlex4.16/frameworks/projects/airspark/src/spark/components/WindowedApplication.as:2388]

from webviewane.

koreaflash avatar koreaflash commented on June 5, 2024

It works normally in version 2.12.0.

from webviewane.

koreaflash avatar koreaflash commented on June 5, 2024

The same error occurs in version 2.13.0.

from webviewane.

tuarua avatar tuarua commented on June 5, 2024

2.13.0 introduced improved ScaleFactor detection code. This is only available on Windows 8.1+
2.15.0 now fixes the backward compatibility of this and should resolve the crash on Windows 7

from webviewane.

tuarua avatar tuarua commented on June 5, 2024

Closing assumed fixed

from webviewane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.