We are moving to GAC-free COM InterOp.
For our non-visuals we changed .NET class progIds, ClsIds and removed strong naming and generated internal assembly manifests.
We changed the ProgID in our PB OLE ConnectToNewObject calls and all is well
BUT
We have homegrown visual ActiveX controls. We can do the same ID modification trick on the .NET side.
BUT how do we modify visual form (uo or window) code to point to the new ProgID? It's all binary encoded in the 'Hidden" binary section at the end of the source file?
Any experience or pointers are appreciated.
PS: I understand there needs to be RegAsm for the IDE (design time) to find the visual (yes the old painter is still calling REGSVR). But that just generates the binary stuff and links the COMFORM to the IDE painter tool). At runtime ProgId is the lookup key.
I'd like to swap the progid so it finds my local side by side version
Appreciate any insight
Yakov
DevOps & Sr Dev
OpenLink Financial
As long as these are non-visual assemblies it should work with the C# class importer. I recommend you try a simple test case with the beta version, and if any problems please open a support ticket. You can get the beta here: https://www.appeon.com/developers/pb-2019r2-beta.html