Click here to Skip to main content
Sign Up to vote bad
good
See more: C#FlashWin7
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:
axShockwaveFlash_hanzi.Update();
axShockwaveFlash_hanzi.Movie = @"..\..\..\ResourcesFiles\HZBS\" + str + ".swf";
axShockwaveFlash_hanzi.Play();
Posted 23 Sep '12 - 6:18
Edited 23 Sep '12 - 6:34


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.
  Permalink  
Comments
Seraph_summer - 24 Sep '12 - 16:03
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 8,376
1 OriginalGriff 6,571
2 CPallini 3,533
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 24 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid