Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i have used shockwave flash object in visual studio 2008 and it works well.
but when i move it to win7, then it simply does not work and nothing error displays.
anyone knows what is wrong? I just start using win7 64bit. thanks!

the code is quite simple:
C#
axShockwaveFlash_hanzi.Update();
axShockwaveFlash_hanzi.Movie = @"..\..\..\ResourcesFiles\HZBS\" + str + ".swf";
axShockwaveFlash_hanzi.Play();
Posted
Updated 23-Sep-12 6:34am
v2

1 solution

The problem is not WIndows 7, but a 64bit OS.
When you do not set a traget platform, your application will run as a 64 bit application on a 64 bit OS - and then must not load a 32bit dll.
Hence: set the target platform to x86.
 
Share this answer
 
Comments
Seraph_summer 24-Sep-12 16:03pm    
thanks, I have thought also like what you said, but it seems not. I have changed actually already to x86. The same, simply does not work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900