Announcement

Collapse
No announcement yet.

C++ Example

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • C++ Example

    Does anyone know where i can find an example in C++ for the ActiveX API ?
    Last edited by psarris; 08-06-2003, 11:36 AM.

  • #2
    I messed with it briefly in C++ (sans using the event handlers) just to grab some basic quotes. C# and VB are much nicer when it comes to using ActiveX controls IMHO, though up until now I have been a C++ guy. Looking to switch to C# now.

    When I ran the winsig.tlb file through the VC6 auto ActiveX wrapper class generator, it seemed to choke on some stuff. The Visual Studio .NET 2003 C++ wrapper generator also choked a bit, especially on the event handlers, but it did better in general. I had to manually enter an "import" statement just to get most of the stuff working and had to mess with some other stuff. It wasn't pretty. But, I've never really used ActiceX stuff under C++ so maybe I just don't know the "proper" way to do it.

    Under C#, no problems what-so-ever as far as setting up event handlers, using data structures, etc.

    Comment

    Working...
    X