axShockwaveFlash在win7中不起作用 [英] axShockwaveFlash does not work in win7

查看:140
本文介绍了axShockwaveFlash在win7中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在Visual Studio 2008中使用了Shockwave Flash对象,效果很好.
但是,当我将其移至win7时,它根本无法正常工作,并且不会显示任何错误.
有谁知道这是怎么回事?我刚刚开始使用win7 64bit.谢谢!

代码很简单:



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();

推荐答案

问题不是Windows 7,而是64位操作系统.
如果不设置traget平台,则您的应用程序将在64位OS上作为64位应用程序运行-然后不得加载32位dll.
因此:将目标平台设置为x86.
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.


这篇关于axShockwaveFlash在win7中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆