STL.NET news

  • Thread starter Thread starter Andrew Roberts
  • Start date Start date
Unfortunately not, the fully qualified type name includes the assembly name,
it cannot be the same type in two different assemblies. If you have two
different assemblies that contain a type they are two different types. Its
the same problem if you create multiple interop assemblies for COM, rather
than a single PIA, the identical interfaces in each interop assembly are
viewed incorrectly as different types.

What you want to do is to just reference the type from the other assembly
but you can't do that because it is a compile time template so you must
include the header which brings it into your assembly. This is why cross
assemblies we need to use generic types as veneers that we can reference
instead to solve the problem.
 
Back
Top