Why do I receive an error when trying to register a MATLAB COM Builder-generated component?

1 view (last 30 days)
Why do I receive the error "Error: DLLRegisterServer in myobject_1_0.dll" when trying to register a MATLAB COM Builder-generated component?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Jun 2021
Edited: MathWorks Support Team on 21 Jun 2021
There are two possible causes for this error.
First, in order to register a component, you will need to have administrative privileges on your machine. This is necessary because you will need to have permissions to modify your registry.
Second, there is a known bug in a Microsoft DLL (comcat.dll) that MWREGSVR uses to register the component. This file should be located in your C:\WINNT\System32 directory. This problem is known to occur on Windows NT with the COMCAT.DLL version 4.0. You will need to get the version 4.71 of that file as documented at the Microsoft web site below:

More Answers (0)

Categories

Find more on COM Component Integration in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!