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

  • nirces / 104 / Wed, 18 Nov 2009 00:45:00 GMT / 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:

    writting, active, objects, used, vb5, c++, dll, com, activex, visual basic

  • http://programming.itags.org/com-activex/174571/«« Last Thread - Next Thread »»
    1. 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 Questions

    • Excel automation: Columns array

      Hi,I have written a small macro in Excel/VBA that goes through a number of columns of the active wor...

      By lonelypixel

    • ActiveX doc crashes IE

      Hey all.. i have an application that is using activeX dll user documents.. when i am done with my ap...

      By metallicad

    • ASP File Download

      Hi,I'm trying to write a document manager for our Intranet, but I am having big trouble getting...

      By nickclarkson

    • Zipping folders Recursively

      I am using Info-ZIP group's zip32.dll in my VB 6.0 project. My purpose is to be able to zip a s...

      By hemali3

    • Handling Out of Memory

      Hi,I have a VB6 Project running on a Windows 2000 machine with SP4.I make a referecne to a dll given...

      By mistletoe, 5 Comments

    • SSH tunneling

      hai sir Mysql server is running in a local networked machine connected to our gateway machine. How w...

      By madhu_pp, 1 Comments

    • Pause Application

      I have an app that is supposed to sleep for a predetermined time (up to 6 hours).Can anyone tell me ...

      By pmarlow, 1 Comments

    • Reading EXE Problems

      I'm looking for a way to read an exe file on the hard disk, scan through it for a reference to ...

      By vb4eva, 3 Comments

    • popup calendar

      hi guys can i know how to add a popup calendar to my form....

      By venki, 1 Comments