How to make WinRT components implementing the same interface? RRS feed

  • Question

  • I need some kind of abstract class as WinRT component. I want to make several WinRT components, which will contain the same functions (with different implementations). I would use abstract class and subclasses, but this construct seems to be forbidden for WinRT (why?). So I am trying to use interfaces, but this does not work too, compiler always throws internal error while importing the second component from assembly.

    It also throws warning C4945 (symbol has already been imported from another assembly - related to the interface).

    Any idea how to solve this? Thanks.

    Sunday, July 15, 2012 7:17 PM

All replies

  • Can you provide a project that repro's this internal error? My email is DavidLam AT Microsoft DOT com.


    David Lamb

    Tuesday, July 17, 2012 5:42 PM