Is a COMException of 0x80040154 always 'Class not registered'?

后端 未结 3 1773
悲哀的现实
悲哀的现实 2021-01-13 11:58

Does a System.Runtime.InteropServices.COMException of 0x80040154 always mean that the class isn\'t registered? I\'m getting a COMException which says \"Retrieving the COM c

3条回答
  •  情深已故
    2021-01-13 12:31

    Pay attention to register of 32-bit components using the correct register (C:\Windows\SysWOW64\regsvr32.exe).
    If you have already registered up with the 64-bit version, unregister each dll with the same version.

    More help you find here Team is Going from XP32 to XP64 for .NET Development - Any Gotchas?

    Good luck

提交回复
热议问题