AxAcroPDF - Vista64 Class Not Registered Error

筅森魡賤 提交于 2019-12-04 04:08:47

You can't convert Adobe's ActiveX control to 64bit yourself, but you can force your application to run in 32bit mode by setting the platform target to x86.

For instructions for your version of Visual Studio, see section 1.44 of Issues When Using Microsoft Visual Studio 2005

The .Net framework 1.1 is always targeting 32 bits CPUs while .Net framework 2.0 and above can target 32 bits or 64 bits according to the processorArchitecture property of the program manifest changed by the 'Platform Target' option of the Visual Studio IDE. With the default option 'Any CPU', the IL code is compiled according to the platform but of course the COM call to the AxAcroPDF 32 bits component fails if the platform is 64 bits. Just rebuild the EXE to target 32 bits platform only. This works fine with the WOW64 emulator in Vista 64 bits.

Use DLL isolation, works with every 32bit COM+ application. See more at: http://support.microsoft.com/kb/281335

With this solution you can isolate your 32 bit COM+ application into a separate 32bit process.

64bit applications search installed COM+ objects at: HKLM\Software\Classes, but 32bit applications use HKLM\Software\WOW6432\Classes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!