C# and VB6 Interop
-
Hi All, I'd like to put together a couple of forms in a C# class library, and use them from existing VB6 code. Anybody know of any samples to do this? Any tips? It's been my understanding that .NET classes are basically COM objects, is this correct? Thanks in Advance for any help
-
Hi All, I'd like to put together a couple of forms in a C# class library, and use them from existing VB6 code. Anybody know of any samples to do this? Any tips? It's been my understanding that .NET classes are basically COM objects, is this correct? Thanks in Advance for any help
No, .NET classes are not basically COM objects. The two can interoperate easily through the CLR, but they are completely different frameworks. Answered earlier today (and countless times in the past), please see my reply at http://www.codeproject.com/script/comments/forums.asp?msg=1043902&forumid=1649#xx1043902xx[^]. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]
-
No, .NET classes are not basically COM objects. The two can interoperate easily through the CLR, but they are completely different frameworks. Answered earlier today (and countless times in the past), please see my reply at http://www.codeproject.com/script/comments/forums.asp?msg=1043902&forumid=1649#xx1043902xx[^]. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]