Results 1 to 4 of 4

Thread: Creating ActiveX Controls at Run-Time

  1. #1

    Thread Starter
    Fanatic Member seec77's Avatar
    Join Date
    Jan 2003
    Posts
    596

    Creating ActiveX Controls at Run-Time

    Hello. Sorry if this question has been answered before on this website, but I could not find anything useful enough with the search function.
    I would like to have a very simple introduction to ActiveX/COM/OLE, specifically how to create ActiveX Objects at run-time, without MFC, only pure Win32 API. I am really sure that this is possible, I just don't know how to do it.
    If anyone could explain, point to the correct API as a lead, or direct me to a beneficial tutorial, I will be very glad. Thank you.
    Best Regards,
    seec77

    If you helped me, cosinder yourself thanked.

    Get each and every Garfield strip here!
    Here you can get all Calvin & Hobes strips!
    Damn UComics! It was probably unprofitable for them to allow us to just download Garfield and Calving & Hobes strips... so they made folder indexing unallowed on their server!!!

    I am 33% addicted to Counterstrike. What about you?
    I am 23% addicted to Star Wars. What about you?
    I am 0% addicted to Tupac. What about you?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Creating ActiveX Controls at Run-Time

    You need to write a compiler if you want to create ActiveX objects at runtime...

    Or at least something quite similar.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Fanatic Member twanvl's Avatar
    Join Date
    Dec 2001
    Posts
    771

    Re: Creating ActiveX Controls at Run-Time

    Do you want to create new ActiveX objects or new instances of ActiveX objects? If you are only using win32 api, I have one thing to say: good luck, prepare yourself for pages of unreadable boilerplate code.

  4. #4

    Thread Starter
    Fanatic Member seec77's Avatar
    Join Date
    Jan 2003
    Posts
    596

    Re: Creating ActiveX Controls at Run-Time

    Well, I was hoping to create an instance of an ActiveX control, sorry for the confusion. Well, this pretty much busts my enthusiasm... so how can I do it with MFC/ATL?
    Best Regards,
    seec77

    If you helped me, cosinder yourself thanked.

    Get each and every Garfield strip here!
    Here you can get all Calvin & Hobes strips!
    Damn UComics! It was probably unprofitable for them to allow us to just download Garfield and Calving & Hobes strips... so they made folder indexing unallowed on their server!!!

    I am 33% addicted to Counterstrike. What about you?
    I am 23% addicted to Star Wars. What about you?
    I am 0% addicted to Tupac. What about you?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width