I'm just getting into developing MFC ActiveX controls in vs2010. Read: keep it simple, I'm practically clueless :)
I created a solution with an MFC ActiveX control project within it. Inside that I created a custom method. I created a CAB project inside the solution. But, I thought as a first step in testing I'd keep it simple and just install the OCX (that is, not have a signed CAB just yet). My site is classic asp and I'm planning on accessing the control using a form, by the way.
I wrote this object tag def:
<OBJECT ID="CXIDControlCtrl" height=0 width=0
CODEBASE="
http://<%=sServerName%>
/XIDContro
l.ocx#vers
ion=1,0,0,
0"
</OBJECT>
So, what's next, cause this didn't work? (the page asks if I want to allow blocked content, I say yes, and it keeps asking over and over without actually installing it)
I probably need a classid, right? Where do I find that? Where do I find the correct version?
Do I need to do a separate MFC installation or is that packaged inside my ocx?
What else am I not getting?
(the ms site led me done a rabbit hole with articles with old tech and incomplete workflows. Any suggestions for cradle-to-grave instructions are also welcomed!)
Thanks!!!!