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.
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.
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.
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?