ESRIRegAsm stops working at ArcGIS 10.1

Discussion created by dastewart on Jul 9, 2012
Latest reply on Aug 21, 2012 by KellyThomas
I'm developing in C++ and am responsible for six COM DLLs. The DLLs build and register fine with ArcGIS 10.0. However, once brought over from VS 2008 / ArcGIS 10.0 to VS 2010 / ArcGIS 10.1 only some of the DLLs register with ESRIRegAsm. The ones that register successfully are the simplest ones, implementing only a menu and a toolbar. The ones that fail hang and never return a result code. Running ESRIRegAsm with the /e switch results in an echo of the command line and no further output. All these DLLs register with RegSvr32, regardless of whether ESRIRegAsm succeeds or not. If I copy the ECFG files from the ArcGIS 10.0 installation over to the ArcGIS 10.1 installation the DLLs are seen by ArcGIS 10.1 and seem to function as expected. So the flakiness seems to be with the ArcGIS 10.1 version of ESRIRegAsm.

Has anyone else seen anything like this? Does anyone have any guesses as to the cause or suggestions as to how to proceed?