自定义安装程序中的DLL注册 [英] DLL registration in custom installer
问题描述
亲爱的所有人,
我开发了一个小型Windows独立应用程序,其中有一个自定义安装程序和Windows窗体.
我将以以下形式导入MAPI DLL:
Dear all,
I have devloped a small Windows standalone application in which I have a custom installer and a Windows form.
I am importing the MAPI DLL in the form as below:
<DllImport("MAPI32.DLL")> _
Private Shared Function MAPISendMail(ByVal sess As IntPtr, ByVal hwnd As IntPtr, ByVal message As MapiMessage, ByVal flg As Integer, ByVal rsv As Integer) As Integer
End Function
当我编译它时,它可以正常工作,但是在进行设置时,它会引发错误.
我应该在自定义安装程序中注册DLL吗?
注意:如果删除自定义安装程序,则安装正常.
为避免该错误,如何在自定义安装程序类中注册DLL?或者,还有其他方法吗?
请帮助我.
谢谢!
It works fine when I compile it, but while doing a setup, it throws an error.
Should I register the DLL in the custom installer?
Note: If I remove the custom installer, the installtion works fine.
To avoid the error, how do I register the DLL in the custom installer class? Or, is there any other way to do this?
Please help me with this.
Thanks!
推荐答案
如何在自定义安装程序中注册该dll?
需要紧急帮助.
谢谢
how do i register this dll in the custom installer?
urgent help required.
thanks
这篇关于自定义安装程序中的DLL注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!