Why would This Fix the Dual Monitor Issue in Flash?

会有一股神秘感。 提交于 2019-12-07 02:11:56

问题


The Problem:

You have dual monitors set up and view a Flash video (Let's say any YouTube video) in full screen mode in one of the monitors. If you work on the other monitor, the video would exit the full screen mode. Therefore, you cannot work while watching video in fullscreen mode.

The Solution:

A Google search yields this brilliant solution. http://www.youtube.com/watch?v=qwH_-C2-93E Basically, it changes the byte value at the address of '0x136340' from '74' to 'EB' of the DLL below, and it did the trick!

C:\WINDOWS\system32\Macromed\Flash\NPSWF32.dll (for Flash v10 only)

The Question:

Why would this solution fix this issue? What does it really do by changing the byte value?

Thank you all in advance!


回答1:


I bet it changes if(someting) {...} to if(0) {...}.

I guess it prevents code that would exit the full screen if there's a switch to another window from working, ever.




回答2:


Update: So I have checked, and it works because it is replacing a conditional jump with an unconditional jump.

I believe it is a goto.

I've written this to automatically 'hack' various versions of flash (saving you the trouble of breaking out a hex editor) http://jmaxxz.com/index.php?option=com_content&view=article&id=89:flashhacker&catid=16:downloads&Itemid=32




回答3:


It could like alamar states, simply change the condition of an if statement.

Though I find it more likely that its the address for at goto statement, so the code for exiting fullscreen is bypassed.

In any case, the effect is pretty much the same. Without being an expert, I just think the other think is easier to make. But there is properly someone else on StackOverflow that can tell you for sure.



来源:https://stackoverflow.com/questions/878460/why-would-this-fix-the-dual-monitor-issue-in-flash

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!