API throw COM Exception (REGDB_E_CLASSNOTREG) using File Properties Object Library (PropAuto.dll)
SolutionWhile attempting to execute sample code in V220, It fails with a COM Exception shown below:
COMException: Retrieving the COM class factory for component with CLSID {AED8FE60-3129-11D1-BC83-0800360E1E02} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Following are the prerequisites for using Solid Edge File properties API (PropAuto.dll).
-The application configuration should be set to x64 bit. User can do this in visual studio.
-The file should not be open in Solid Edge while reading the file properties.