Generation of .tlb Files in Windows 7 Pro 32-bit

Posted by aF on Stack Overflow See other posts from Stack Overflow or by aF
Published on 2010-05-28T09:31:59Z Indexed on 2010/05/28 10:51 UTC
Read the original article Hit count: 260

Filed under:
|
|
|
|

I have a C++ DLL that imports a .tlb file generated in a C# project. The C++ DLL is a wrapper DLL containing functions that call the corresponding C# functions.

When I call the C++ functions on the computer that I built the projects, all works well. But when I copy the DLL's and generated tlb's to another computer with the same exact version of Windows and installed programs andI call the C++ functions, it breaks with a COM error. However, after recompiling the projects on the new computer, everything works again.

I already checked the "Work on All Computers" for both projects but this keeps happening. What else do I need to do for the DLL's to work on all computers?

© Stack Overflow or respective owner

Related posts about c#

Related posts about c++