Don't we have type embedding already, of sorts. Open up Reflector load say, the Word PIA and cut and paste the class interfaces you need into your project. This then gives you masive flexibility to
modify the interfaces, leave member out and/or redefine members so they do not throw exceptions, but return hResults. Then you can use Compiler extensions to bolt on Word 12 interfaces and methods onto the Word 10/11 Object model. This is a very usefull trick
I hope this means that the glass ceiling will finally get removed from vb.net and we can use unsafe code and pointers the same as in C#. Time and time again I've needed these features.
Raja Krishnaswamy and Jesse Kaplan: CLR 4 - Inside No-PIA
Jun 28, 2009 at 9:42 AMDon't we have type embedding already, of sorts. Open up Reflector load say, the Word PIA and cut and paste the class interfaces you need into your project. This then gives you masive flexibility to modify the interfaces, leave member out and/or redefine members so they do not throw exceptions, but return hResults. Then you can use Compiler extensions to bolt on Word 12 interfaces and methods onto the Word 10/11 Object model. This is a very usefull trick
Luca Bolognese: C# and VB.NET Co-Evolution - The Twain Shall Meet
May 13, 2009 at 1:05 PMI hope this means that the glass ceiling will finally get removed from vb.net and we can use unsafe code and pointers the same as in C#. Time and time again I've needed these features.
M.