Registering a dll returns 0x80020009 error

前端 未结 7 521
忘掉有多难
忘掉有多难 2021-01-03 19:36

I am trying to register with regsvr32.exe the prnadmin.dll (on a Win7 target machine) but i get this error 0x80020009

Any suggestions please?

相关标签:
7条回答
  • 2021-01-03 20:13

    I had a similar problem with our Office COM addin. Visual Studio 2019 could successfully build the C++ code, but the registration failed with the above error code.

    Solution was: Some files had a "wrong" file encoding (UTF8-BOM) instead of (UTF8) and after I changed the file encodings everything worked as expected.

    0 讨论(0)
提交回复
热议问题