My understanding has it that any language can connect to a COM component as long as you have an interface for it. When you develop a COM component with VB, it handles all the interfaces for you. During your creation of the component, you have the option to add and delete interfaces for the component (at least that is what I understand, haven't had to do it yet). So for you, I think the only hard part, which shouldn't be too hard, is getting your C++ code to interface with the COM component. Being Borland C++ shouldn't matter, just have to learn their way of connecting to it. As far as is there anything you should look out for, I don't think so. If your components properties are set up right, VB won't allow you to do anything stupid. There is a VB COM book out that goes over creating COM objects in VB. Not bad, but it is a starter book. If your past that, you might want to check out http://www.wrox.com/Books/Book_Details.asp?sub_section=1&isbn=1861002254&subject=COM+and+COM%2B&subject_id=23
It is a book I have been wanting to get for a while, and it looks like it goes over all the ins and outs of interface design. I wish I could give you a firm recomendation, but maybe someone at Amazon.com will.
Hope that helps you out.
hellswraith
| Wed, 05 Dec 2007 13:34:00 GMT |