I've created a c# com interop dll project that gen开发者_开发知识库erates both .dll and .tlb files. When I use them on the computer that I built everythig, all works fine. But when I pass it to another computer (with the same windows installed), it doesn't work.
I allready made the: Regasm.exe SoundLogDLL.dll /tlb:SoundLogDLL.tlb
command, but still doesn't work. I also done the work in all computers in vs2008 before releasing it!
Is there anything else that I have to do?
After two weeks and lot of time spent, I've discovered what was missing:
Regasm.exe SoundLogDLL.dll /codebase
and all worked :)
精彩评论