using the ActiveX control

This is a discussion on using the ActiveX control within the Windows Programming forums, part of the Platform Specific Boards category; I'd like to use the ActiveX control to incorporate my OST2 interpreter in to webpages, but the msdn info on ...

  1. #1
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,904

    using the ActiveX control

    I'd like to use the ActiveX control to incorporate my OST2 interpreter in to webpages, but the msdn info on ActiveX has you using template projects and mfc stuff that I don't like to use and isn't used in my interpreter. Is there any way to just USE ActiveX without having to have all of those project settings? or is it compiled like that for a reason? I've honestly never used the ActiveX control before, so any help would be appreciated. thank you

    i'm going to googlize for a bit, see what comes up....
    Last edited by jverkoey; 04-08-2004 at 04:07 PM.

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    I asked the same question a year ago or so, with the same response...
    I wonder i you could use the wrapper class generated by MFC as a starting point, and modify this to suit for WinAPI?
    I never tried it, but next time i need an ocx in one of my progs, i'll try that, anyone..?

  3. #3
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    You should use ATL(ActiveX Template Library). Search the web for 'ATL tutorial'.

    You can implement a control without helper classes or templates but it will be complex. You would need to start by implementing IClassFactory and go from there.

    http://www.adtmag.com/joop/crarticle.asp?ID=1572
    http://msdn.microsoft.com/library/de...ivex/intro.asp

  4. #4
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,904
    thanks anonyt, those links helped a bunch, i'll see what i can do and post any results that i come up with

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using an OCX ( ActiveX) control in a non-MFC application?
    By abachler in forum Windows Programming
    Replies: 0
    Last Post: 05-07-2007, 09:43 AM
  2. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  3. creating an activex control
    By Benzakhar in forum Windows Programming
    Replies: 9
    Last Post: 12-29-2003, 06:32 PM
  4. Can't I reduce the default size of Activex Control (rcBounds)
    By samudrala_99 in forum Windows Programming
    Replies: 1
    Last Post: 10-23-2002, 10:24 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21