Opening an OptoControl or ioControl strategy in configurator mode on a computer running Windows Vista or Windows 7, returns an error message that reports the .inf file has an invalid path. The message is similar to the following:
ioControl and OptoControl are older, mature products and were released before Windows Vista or Windows 7 were available for personal computers. Consequently, ioControl and OptoControl were not designed for, and were never formally tested on Vista or Win 7.
Run ioControl and OptoControl strategies on computers with operating systems that support ioProject and FactoryFloor. Windows XP and Windows 2000 support the software suites.
If the control strategy needs to run on a computer with Windows Vista or Windows 7, consider migrating the system to the latest PAC Project software. PAC Project has been tested on the 32-bit version of the Windows Vista Business edition, and Windows 7 (32 and 64 bit).
However, there is a work around for ioControl and OptoControl strategies that need to run on computers with Windows Vista or Windows 7. Caution: Since ioControl, OptoControl, and their associated software suites were not tested under Vista or Win 7, the results may be unpredictable. Use at your own risk!
The error is caused because Vista and Win 7 uses a different version of a .dll named MFC42.dll. Search the C:\Windows\System32 folder on a Windows XP/2000 computer to find the MFC42.dll file. Copy and paste the file from that computer into the folder on the Vista or Win 7 computer that contains the software application executables. Typically, the path the file goes into is:
C:\Program Files\Opto22\ioProject Software 7.1
or for OptoControl:
- Close the OptoControl or ioControl application if it is running.
- Copy the .dll to the appropriate folder as described above.
- Restart the application. The strategy should now open properly.