Flash doesn't work on 64bit Windows

Bug #524866 reported by Dan Garner
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Wishlist
Dan Garner

Bug Description

Neither the direct flash media type, or embedding it manually.

Related branches

Dan Garner (dangarner)
Changed in xibo:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Alex Harrington (alexharrington) wrote :

From Dustin Drewery:

Fixed it.. long story short.. I don't have studio on my laptop and didn't want to go to the office. I downloaded and tried VS express but found out one of the things that is disabled in express is the ability to target platforms. I finally found a faster solution.. part of the .Net SDK. There is a file called CorFlags.exe that will let you switch the flag on after its compiled. You have to install the SDK first but once I did, ran the following:

corflags XiboClient.exe /32bit+ /force

The corflags.exe is located under "\program files\WindowsSDKs\vX.X\bin". Note, you may have to edit the security rights on xiboclient.exe so that your current user has full controll. I copied the file into my bin folder first to do it then replaced it when it was done.

Bottom line, all browser controls are forced to use WoW now wich runs 32bit iExplorer.exe. Granted, you could just select the platform as x86 before you compile from now on but this is a handy trick for ANY exe file!

Here's a link to the resources I discovered:

http://msdn.microsoft.com/en-us/library/zekwfyz4(VS.80).aspx#1

http://blogs.msdn.com/b/ieinternals/archive/2010/01/13/web-browser-control-does-not-show-flash-or-silverlight-in-a-64bit-dot-net-application.aspx

http://www.request-response.com/blog/PermaLink,guid,cf345d71-cdc7-46b9-8c1c-eb21581a9222.aspx

I haven't tested much with the new exe but I can't think of any reason anything else would break.. this should force all controls to use the 32bit versions if running on 64bit os.

Changed in xibo:
milestone: none → 1.2.0-rc2
assignee: nobody → Dan Garner (dangarner)
Revision history for this message
Alex Harrington (alexharrington) wrote :

As we have a proposed fix, I'm targeting to 1.2.0-rc2 as it should be possible to change these settings as part of the release build.

Changed in xibo:
status: Confirmed → Triaged
Revision history for this message
Dan Garner (dangarner) wrote :

Just to be sure... the solution is to build with the platform set to x64 rather than Any CPU?

Revision history for this message
Alex Harrington (alexharrington) wrote :

I thought the solution was to build for x86 NOT AMD64.

Alex

Revision history for this message
Dan Garner (dangarner) wrote :

Quite right, I did mean x86!

Changed in xibo:
status: Triaged → Fix Committed
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.