如何使用regasm.exe为dll创建CLSID(Class Id) [英] How to create CLSID (Class Id) for dll using regasm.exe

查看:117
本文介绍了如何使用regasm.exe为dll创建CLSID(Class Id)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮忙,如何使用regasm.exe为dll创建CLSID(Class Id)



谢谢

sanjeev

解决方案

您应该使用GUIDGEN.exe来创建CLSID。发现另一篇使用regasm.exe创建CLSID的文章,但我认为这不是真的。试一试。



通过调用

regasm.exe / codebase / tlb whatever.dll
取决于 您的需求,/ codebase / tlb可能需要(即你也可以尝试只是regasm.exe whatever.dll)。





阅读更多 [ ^ ]



从GUIDGen获取CLSID。

打开Visual Studio - >工具 - >菜单

选择GUID选择 pic 中给出的注册表格式[ ^ ]按复印件。


Hi, can anybody help on this, How to create CLSID (Class Id) for dll using regasm.exe

thanks
sanjeev

解决方案

You should use GUIDGEN.exe to create CLSID. found another article to create CLSID using regasm.exe but its not that true i guess. give a try.

By calling

regasm.exe /codebase /tlb whatever.dll
depending on your needs, /codebase or /tlb might not be needed (i.e. you can also try just regasm.exe whatever.dll).



read more[^]

To get the CLSID from GUIDGen.
Open Visual Studio-->Tools-> menu
select GUID select the Registry format as given in the pic[^] press copy.


这篇关于如何使用regasm.exe为dll创建CLSID(Class Id)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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