i work on professional project lot of com involved, , encounter following issue:
with code:
[comvisible(true)] public interface icomfakecall { } [comvisible(false)] public class baseclass<t> { } [comvisible(true)] public class comfakecall : baseclass<string>, icomfakecall { }
the interface icomfakecall
not visible excel vba editor.
whereas visible if remove genericity, :
[comvisible(true)] public interface icomfakecall { } [comvisible(false)] public class baseclass { } [comvisible(true)] public class comfakecall : baseclass, icomfakecall { }
how come interface first example isn't visible?
is there known issue com objects , inheritance of generic classes?
Comments
Post a Comment