I have a hoverbutton.ocx file which i copied into windows\system folder in win98 OS. After compiling the application and running it, i got a class not registered error message. Is there anything missing? Please help. Thanks.
is registry necessary if specific ocx is compiled into the form and app? I am testing the app without presence of the OCX in the folder or registry and 'seems' to work fine??
OCX's are NEVER "compiled into" an application (.APP or .EXE)... the OS would then have no way to load them. They don't have to be in the current directory, though: The .OCX can be anywhere on your computer... the Registry enables windows to find the .OCX based on the CLSID (class id) that is stored in the form (.SCX) or class definition.
- Bill
Get the best answers to your questions -- See FAQ481-4875.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.