时间:2021-05-22
The SWF To Image ActiveX library is made using managed Windows 32-bit code so as a result library (dll) can not be loaded into 64-bit application.
Solution is to build application for x86 platform so application will be operate in 32-bit mode (will work on both 32 and 64-bit OS)
To apply this in Visual Studio 2005 and higher:
- open project in Visual Studio 2005
- open project settings by pressing ALT+F7 (or via main menu: Project | Windows Application 1 Properties)
- select "Build" tab
- change "Platform Target" to "x86" option
- re-build project
Produced EXE application will work OK with registration-free scenario on Windows x64. To see how to add registration-free support into application see below:
For registration-free usage scenario for SWF To Image please use the following manifest file:
Content of YourApplication.exe.manifest file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<file name="SWFToImage.dll">
<typelib tlbid="{F52B2898-3CD9-4530-8F1E-2762A2783C33}" version="1.0" helpdir="C:\WINDOWS\system32\"/>
<comClass description="CLASS_SWFToImage" clsid="{479A1AAC-C148-40BB-9868-A9773DA66AF9}" progid="SWFToImage.SWFToImageObject" threadingModel="both" tlbid="{F52B2898-3CD9-4530-8F1E-2762A2783C33}" />
</file>
</assembly>
Do not forget to put SWFToImage.dll into the same folder where YourApplication.exe is located
声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。
云服务器中windows系列系统通常都有x86与x64两个版本。x86与x64有什么区别?云服务器用户该如何选择操作系统?x86代表的是32位的操作系统;x64
因为现在的项目使用的是AnyCpu在x86的设备使用的是x86,在x64使用的是x64,但是对于非托管代码,必须要在x64使用x64的dll,在x86使用x86
软件环境本文使用的软件版本为:windows10专业版64位(10.0,版本10586)navicatpremium11.0.18(x64)instantcli
【详细步骤】:1.从Python下载windows版本的安装程序(点击进入),我这里由于操作系统是x64的因此选择Python2.7.11x64Installe
xp系统是windows系统,WindowsXP是美国微软公司基于X86,X64协议针对PC端与平板电脑设备开发的操作系统,XP是2001年开Windows系统