我如何注销dll? [英] How can i unregister dll?

查看:149
本文介绍了我如何注销dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用一本名为《 ATL开发人员指南》的书来学习ATL& COM.
第二章有一个项目.
像这样的代码.

I am trying to learn ATL&COM using a book named "ATL Developer''s Guide"
The chapter two has a project.
The code like this .

; Server.def : Declares the module parameters for the DLL.
;
LIBRARY      "SERVER"
DESCRIPTION  ''SERVER Windows Dynamic Link Library''
EXPORTS
    ; Explicit exports can go here
    DllGetClassObject   PRIVATE
    DllCanUnloadNow     PRIVATE
    DllRegisterServer   PRIVATE




我已经成功注册了dll.但是当我尝试取消注册时,异常告诉我
已加载模块E:\ Server.dll,但未找到入口点DllUnregisterServer.确保E:\ Server.dll是有效的DLL或OCX文件,然后重试"
我已经使用OleView检查dll了.
如何注销dll?
谢谢.




I had registered the dll successfully. But When I try to unregister it , the exception tell me
"The module E:\Server.dll was loaded but the entry-point DllUnregisterServer was not found.Make sure that E:\Server.dll is a valid DLL or OCX file and then try again "

I already used OleView checking the dll .
How can i unregister the dll?
thanks.

推荐答案

遇到困难.

查看是否有帮助 [ ^ ]
With difficulty.

See Here if it helps[^]


这篇关于我如何注销dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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