Question

is it possible to build a c# dll and tlb files in a win7 64 bits computer and make it work in a win7 32bits computer?

Thanks in advance :)

Edit: I am using a c++ dll that calls the .tlb file generated in my c# COM interop dll proj.

Was it helpful?

Solution

If you're building a pure C# DLL, you won't end up with a TLB file. Build it with a target of "Any CPU" and it will work fine on 32 or 64 bit computers.

You'd normally only need a TLB file if you're exporting a COM component (as I understand it) - do you need to do that?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top