I\'m using an external native COM component in my C# .NET application. This COM DLL doesn\'t have a type library, so I had to write the interop code myself, and having include/idl files I did it like
Is it just the way the bytes are combined to \"encode\" the data? I\'m curious because I wonder how an RCW automatically takes a .NET string and transforms it into a COM BSTR. I\'m guessing it just f
After execution both of the following test cases, a COM execution is printed to the console. What am I doing wrong?
I\'m trying to fix problem with \"COM object that has been separated from its underlying RCW cannot be used\" error, and I think what\'s causing it is that COM objects are used on a thread that didn\'
Only sometimes (I haven\'t yet noticed a pattern), VS2010 shows the following error (where I\'d expect the body of the property page to be) when I right-click on a project (various types of projects)
Until recently, I believed that the .NET runtime only increases the reference count of COM objects by 1 when creating a runtime-callable wrapper, and that only one such runtime-callable wrapper is cre
VS2008, .NET 2, VB.NET, XP ... I have a Windows form, with a WebBrowser control and a Close button, which just does a Me.Close.The form\'s cancel button is set to the Close button, so that I can hit