Home » Category » DLL & COM & ActiveX

DLL & COM & ActiveX: Writting Active X objects to be used in VB5 and C++

104| Fri, 30 Nov 2007 15:04:00 GMT| nirces| Comments (1)
I have a project coming up where i need to write an object in VB6 but the object has to be usable in VB5 and C++ (Borland VC++, not microsoft)
Can anyone recommend any good books that cover the problems faced with writting this kind of object and what i can and cannot use.
Thanks

Keywords & Tags: writting, active, objects, used, vb5, c++, dll, com, activex, visual basic

URL: http://programming.itags.org/com-activex/174571/
 
«« Prev - Next »» 1 helpful answers below.
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 |

DLL & COM & ActiveX Hot Answers

DLL & COM & ActiveX New questions

DLL & COM & ActiveX Related Categories