Patching OCXes is a good way to ruin your system, yes. Now revert that. That patch surely isn't official and will only work for a certain version of the OCX. And has nothing to do with VFP, has it?
Look for alternative OCXes or use CommTools. On XP it works,but since Vista I had problems with USB/RS232 Adapters. The problem is, that ports work for a while, then CommTools report a port to not exist, and we tried very many different adapters also with different chipsets.
I would recommend doing COM Port addressing in a DotNET assembly on todays systems. There is the System.IO.Ports.SerialPort class in C# or VB.NET, and that's working fine, and will continue to work fine, as the .NET framework is current and maintained.
Bye, Olaf.