我们有个系统原来用delphi7开发的一个DLL,可以注册成COM+组件,用作中间件。在XP\2000\2003下都可以正常注册使用。现在2008、Win7比较多,这个DLL无法注册,只好在WIN7\2008系统中安装一个VMWare虚拟机,在虚拟机中安装2003来注册这个DLL当中间件用,非常麻烦。有没有哪位高人帮我分析一下是什么原因,需要怎么处理,代码可以供测试使用,如果可以解决,费用面谈,谢谢!Windows 7DLL 无法注册
解决方案 »
- 程序调试出现access violation at 0x7c957a50:write of address 0x00030d24错误
- 多给分的简单问题,求教关于写库的技巧
- ListView的小问题
- 怎样获取Delphi IDE界面上的工具栏及菜单上的图标,我感觉那些挺好看的。
- Delphi自带的Image Editor做的资源文件中的图标只能是16色,可是我需要256色以上,各位知道哪儿有这样的工具下载么?
- Image中导入一个较小的图片(.ico),如何让这个图片充满Image?
- 我用ADO+ORACLE开发的activeX网页,客户端总是提示我要安装ORACLE呢?必须安装吗?
- 请问如何从备份的文件恢复数据库?
- 在SQL SERVER 2000中,如何判断数据库dl中是否存在表No_amm?
- 可能是一个很菜的问题:一旦在ID中加上了自己的组件面板和组件,怎么把它们去掉?
- 远程注入DLL后,如何让DLL自己退出
- winsock 如何实现边下载边观看视频文件?
http://bbs.csdn.net/topics/330194510另外,代码中,申请权限时只申请用到的权限,而不要申请全部权限
http://bbs.csdn.net/topics/370266767
再注册一下试试
Anyone familiar with .NET Framework technology will be accustomed to the term assembly, which denotes a set of one or more modules deployed, named, and versioned as a unit, with one module containing a manifest that defines the set. In Registration-free COM, the terms assembly and manifest are borrowed for ideas that are similar in concept but not identical to their .NET counterparts.
Registration-free COM uses assembly to mean a set of one or more PE modules (i.e., either native or managed) deployed, named, and versioned as a unit. Registration-free COM uses manifest to refer to text files with the .manifest extension containing XML, which either defines the identity of an assembly (assembly manifest), together with the binding and activation details of its classes, or defines the identity of an application (application manifest), together with one or more assembly identity references. An assembly manifest file is named for the assembly, and an application manifest file is named for the application.
The term side-by-side (SxS) assemblies refers to the configuration of different versions of the same COM component, via manifest files, in order that they can be loaded simultaneously by different threads without needing to be registered. SxS enables, and is loosely synonymous with, registration-free COM.
-----------------------------------------
总之,就是改你的manifest文件