Heartbroken / flash-to-directx

Automatically exported from code.google.com/p/flash-to-directx
0 stars 0 forks source link

the demo can't work on my xp sp2, flash10. #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
the demo can't work on my xp sp2, flash10. The output window show nothing
but black background.

Original issue reported on code.google.com by xiao.ao....@gmail.com on 16 Oct 2009 at 1:41

GoogleCodeExporter commented 9 years ago
You need to install (latest) ActiveX version of Flash 10. Just select Internet
Explorer distribution here: http://get.adobe.com/flashplayer/otherversions/

Let me know if it works for you.

Original comment by max.dyac...@gmail.com on 19 Nov 2009 at 1:43

GoogleCodeExporter commented 9 years ago
Hope it worked.

Original comment by max.dyac...@gmail.com on 23 Apr 2010 at 4:00

GoogleCodeExporter commented 9 years ago
Sorry, I've the same problem and tried to install the Flash 10 ActiveX version 
(IE 
dist.) from your link, but no success. Still black window - but with sound, and 
it 
seems that it will interact with the mouse (because of the click sound).

Original comment by maroc...@gmail.com on 26 Apr 2010 at 8:45

GoogleCodeExporter commented 9 years ago
Hmm, can't reproduce on XP with SP3 - everything works fine. May be someone can 
try
to debug what's going on?

Original comment by max.dyac...@gmail.com on 26 Apr 2010 at 9:27

GoogleCodeExporter commented 9 years ago
I compiled solution and run GUI,it crash in GUI.cpp,Line 396.
hr = pSrcSurface->GetDC(&surfaceDC);
hr is -2005530516.

Original comment by xiao.ao....@gmail.com on 26 Apr 2010 at 9:41

GoogleCodeExporter commented 9 years ago
Can you please enable DirectX debug mode if you have DirectX SDK installed? It 
should
describe origin of the error (D3DERR_INVALIDCALL is too general).

Original comment by max.dyac...@gmail.com on 26 Apr 2010 at 9:57

GoogleCodeExporter commented 9 years ago
Direct3D9: (ERROR) :GetDC only supports D3DFMT_R5G6B5, D3DFMT_X1R5G5B5,
D3DFMT_R8G8B8, and D3DFMT_X8R8G8B8.

Original comment by xiao.ao....@gmail.com on 26 Apr 2010 at 10:04

GoogleCodeExporter commented 9 years ago
Please try to replace every 'transparency_mode ? D3DFMT_A8R8G8B8 : 
D3DFMT_X8R8G8B8'
with 'D3DFMT_X8R8G8B8'.

Original comment by max.dyac...@gmail.com on 26 Apr 2010 at 10:12

GoogleCodeExporter commented 9 years ago
Yes,It works!

Original comment by xiao.ao....@gmail.com on 26 Apr 2010 at 10:14

GoogleCodeExporter commented 9 years ago
I try to use flash as GUI for a sofeware.Can you give me a demo that invoke 
value and
evens between flash and C++.

Original comment by xiao.ao....@gmail.com on 26 Apr 2010 at 10:33

GoogleCodeExporter commented 9 years ago
Please see http://code.google.com/p/flash-to-directx/wiki/FunctionCalls

Original comment by max.dyac...@gmail.com on 26 Apr 2010 at 11:28