开发者

.net regasm question

Lets say we have this scenario a setup that deploys a .net com dll and runs regasm on it, this setup has no uninstall so unregister Will never be called.. And you can run the setup over and over again..

Is there any danger in doing so?? What would happen if i de开发者_开发百科ploy à new setup with à new version of the dll..

Is there any danger in never running uninstall?


Not 100% sure here, but I believe if you keep all of the the IIDs, ClassIDs and ProgIDs the same, you're OK. If you keep generating new unique IDs for your classes, you could clutter up the registry with unused entries. So it's probably best to have a good, explicit handle on all of your COM IDs when you deploy something like this.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜