none
Problem with IE and Flash RRS feed

  • Question

  • Hi there,

    WinEC700 + IE + flash plugin.

    I'm running an app called Simple that loads a IE window inside the app, via the CLSID_WebBrowser and IID_IWebBrowser2 interface.

    The page i need to navigate has a Flash applet and some points to click.

    I see the image inside the applet but when i click an active point the plugin stops.

    I don't know the code inside the applet but on a PC the mouse click moves to other html page. On the debug window i see nothing.

    Any idea?


    SteMMo

    Wednesday, September 25, 2013 2:50 PM

All replies

  • Other tests:

    i downloaded other sample called cwebpage (exe+dll) that uses the same objects and interfaces than the previous one.

    The mani problem is that if i run the application after a restart

    Load module: HtmlEvents.exe
    Load module: locale.dll
    Load module: normalize.dll
    Load module: lpcrt.dll
    Load module: bcrypt.dll
    Load module: oleaut32.dll
    Load module: rpcrt4legacy.dll
    Load module: ole32.dll
    Load module: fpcrt.dll
    Load module: coredll.dll
    Load module: cwebpage.dll
    Load module: sorting.dll
    Load module: secur32.dll
    Unload module: cwebpage.dll
    The thread 0x6c80086 has exited with code 0 (0x0).
    The program '[0xE90026] HtmlEvents.exe' has exited with code 0 (0x0).
    

    If i run iesample.exe, close it and then run the application, the page is shown and the dll list is:

    Load module: HtmlEvents.exe
    Load module: locale.dll
    Load module: normalize.dll
    Load module: lpcrt.dll
    Load module: bcrypt.dll
    Load module: oleaut32.dll
    Load module: rpcrt4legacy.dll
    Load module: ole32.dll
    Load module: fpcrt.dll
    Load module: coredll.dll
    Load module: cwebpage.dll
    Load module: sorting.dll
    Load module: ieframe.dll
    Load module: urlmon.dll
    Load module: shlwapi.dll
    Load module: wininet.dll
    Load module: crypt32.dll
    Load module: msasn1.dll
    Load module: RSAENH.dll
    Load module: waveapic.dll
    Load module: commctrl.dll
    Load module: commdlg.dll
    Load module: mlang.dll
    Load module: mmtimer.dll
    Load module: ceshell.dll
    Load module: shcore.dll
    Load module: CmNet.dll
    Load module: ws2.dll
    Load module: iphlpapi.dll
    Load module: winnsi.dll
    Load module: rpcrt4.dll
    Load module: nsi.dll
    Load module: cxport.dll
    Load module: ProxyDBS.dll
    Load module: ssllsp.dll
    Load module: wspm.dll
    Load module: nspm.dll
    The thread 0x7e900ae has exited with code 0 (0x0).
    Load module: WsCmExt.dll
    Load module: mshtml.dll
    Load module: msls31.dll
    Load module: ctras.dll
    Load module: secur32.dll
    Load module: jscript.dll
    Load module: flash.ocx
    Load module: WindowsCodecs.dll
    Load module: ddraw.dll
    The thread 0x7be00ba has exited with code 0 (0x0).
    The thread 0x66d00de has exited with code 0 (0x0).

    Any idea?


    SteMMo

    Friday, September 27, 2013 3:27 PM
  • I discovered that the problem is the line:

    if (!CoCreateInstance(&CLSID_WebBrowser, 0, CLSCTX_INPROC, &IID_IWebBrowser2, (void **)&webBrowser2))

    that returns error 0x80040154.

    SO when i run the IE, it registers the interface; how can i do it to achieve the same result?


    SteMMo

    Monday, September 30, 2013 9:07 AM