开发者

Can you use RegAsm with an executable?

I have an exe that I want to register. I have the type library by using the tlbexp tool, but when I try and regasm the executable, I get an error RA0000. Apparently the "operation is not supported"? I'm not sure what the cause of this could be. I've done a lot of other work with regasm for various class libr开发者_高级运维aries but never with executables. So is it even possible? And if so, do you have to use a different method?


All the information I have seen does not allow you to register executables as COM operable (even though I know you can just call methods inside the executable without actually starting it). Have you tried changing the output type of your executable to a class library and registering then?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜