I'm not seeing any compatibility reports for Win 11 24H2 and any version of Python. That said, if all your other pinball stuff was working fine before then you could try to revert back to 23H2.
The underlying dependencies for the P-ROC controller are linked here:
https://www.multimorphic.com/software-development/
But you can see when you dig into it that there have not been any updates in years. Any Python source code was written for Python 2.6 and is proven to work with Python 2.7. I have no idea if current Python 3+ is backwards compatible for the existing source code.
If you thought it was just a matter of current Windows compatibility with the compiled game code, then a cheap thing to do would be to recompile. Delete out all files with PYC extension which are compiled code. C:\P-ROC\games\cactuscanyon. When you launch the game again, it will compile any code and recreate any PYC files that are missing. Backup first of course! I don't know that it will make any difference.
You might check with freezy on VPE. It's a different architecture, and he was planning on adding a P-ROC/MPF plug-in that's closer to native support. It would run the original game code and would no longer require my port for VP. I don't have details beyond a discussion with freezy a few years ago. I'm sure this would still require Python.
Sorry, I can't be more help. I don't have Win 11 or access to any machines with Win 11. My cabinet needs work, but I don't have immediate plans to upgrade. My current hardware is not compliant. I had looked at the controller.vbs issue when that issue came up, but I'm not sure what the VPX team did that caused that issue. It's not been a high priority for them to look at it as it has been just CCC that has any profile on that platform. Aside from a couple of demos, there is not much else publicly available. Too bad, because CCC is a nice update for CC.