An existing app of mine (VFP9) uses FoxPro's _olecalendar control. It's been working fine, except now under Windows 7 the user gets a "Class not registered" error. What to do?
You need to add comctl32.dll. These are very old ActiveX controls, and while they still work, they are not included in even Windows XP unless you have some application installed that installs these controls and that was typically the case with Office, until there is Office 2007, which does not seem to use these controls.
DEtails of what I just said might be wrong, but in general you'd need to provide the installation of activex controls anyway to make sure they run on any system. You're just having luck, that usage of these controls is so common, that you didn't ran into problems earlier.
The user is trying to register the OCX and DLL by hand, and is getting error messages like:
"The module 'COMCTL32.DLL' was loaded but the entry-point DllRegisterServer was not found. Make sure that COMCTL32.DLL is a valid DLL or OCX file and then try again"
He has tried this with multiple copies of the files.
This refers to the EXE file that is created by INNO -- the one that gives the user a setup wizard to install your app. It's that executable that you must run as an administrator.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
You have ate least one executable file (with EXE extension) after you created your installable package.
Usually it is named SETUP.EXE (or INSTALL.EXE).
No matter how it is called you (or your user) should run it AS ADMINISTRATOR.
Just right click on it and choose "Run as Administrator" from the right click menu.
I'm told that running the setup as administrator doesn't solve the problem. However, running the app itself as administrator solves it once and for all on that computer. The problem can't even be recreated by uninstalling and reinstalling the app.
I misunderstood. I thought you said you only have to run it once as administrator ("running the app itself as administrator solves it once and for all on that computer").
So you always have to run it as administrator? If so, I can see why that wouldn't solve the problem.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
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.