AcroPDFlib.dll和64位 [英] AcroPDFlib.dll and 64bit

查看:427
本文介绍了AcroPDFlib.dll和64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个要转换为在64位环境中工作的应用程序,该应用程序最初被编写为32位.不幸的是,AcroPDFlib似乎向我抛出类未注册(0X80040154)"错误.

这是64位AutoCAD的dll加载项,因此我的应用程序必须继续为64位.当我为"AnyCPU"设置了东西时,相同的二进制文件仍然可以在32位AutoCAD中完美地工作.

我不知道从这里去哪里,所以我们将不胜感激.

谢谢
Jason Self

I have an application that I am converting to work in a 64bit environment, this application was initially written to be 32bit. Unfortunately, AcroPDFlib seems to be throwing a ''Class Not Registered (0X80040154)'' Error at me.

This is a dll add-in to 64bit AutoCAD so my app must continue to be 64bit. As I have things set for ''AnyCPU'' the same binary still works flawlessly in 32bit AutoCAD.

I have no idea where to go from here so any help would be greatly appreciated.

Thank you,
Jason Self

推荐答案

根据此论坛帖子,这是由于使用32位版本的AcroPDFlib引起的.在撰写该条目时(很久以前),还没有可用的64位版本.
http://forums.adobe.com/message/2391380 [ http://p2p.wrox.com/net-framework-2-0/77011-axinterop-acropdflib-dll-throws-class-not-registered-error-64-bit-os.html [ http://social.msdn.microsoft.com/Forums/zh-CN/csharpgeneral/thread/75cc92de-1649-431a-a688-3aab16ca86e2/ [
According to this forum post, this is caused when a 32 bit version of the AcroPDFlib is used. As of the writing of that entry (which was quite a while ago) there wasn''t a 64bit version available.
http://forums.adobe.com/message/2391380[^]
This one too: http://p2p.wrox.com/net-framework-2-0/77011-axinterop-acropdflib-dll-throws-class-not-registered-error-64-bit-os.html[^]

This forum seems to have produced a resolution to your problem: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/75cc92de-1649-431a-a688-3aab16ca86e2/[^]


使用目标平台" X86 "构建/编译代码,然后尝试.
build/compile your code with target platform ''X86'' and then try.


这篇关于AcroPDFlib.dll和64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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