Posted on 2001-08-17
I built a complex OCX that I needed to use in a shell I made, and also give to another devloper to use in his shell. The many peices of my OCX made it difficult to give him the whole thing, so I "stubbed it out." I gave him an OCX that has all the public properties and methods, but no code. He compiled it into his shell, and now I neeed to put the real OCX in. I get the error:
"Failed to load <control> from <ocx>. Your version of <ocx> may be outdated. Make sure you are using the version of the control provided with your application."
On my OCX development computer, I have cleaned the registry of all references to the OCX. I then copied the stub that I mailed to the other developer and registered it. In the project, I had the compatibility pointing to the stub. I am using Binary Compatibility. I was under the assumption that by having the compatibility version be the stub, it will allow me to "upgrade" without problem, but I still get the error. I'm hoping I'm just missing something stupid and that one of you geniuses will be able to help. =)