Issue / Question
Running the Zmotif SDK and show error "REGDB_E_CLASSNOTREG Class not registered C++"
The breakpoint is hit at import Zmotif graphics library.
Applicable To
Zmotif SDK, ZXP7, ZXP8, ZXP9
Resolution / Answer
The graphics library not register correctly. We should use below steps to register the library.
1. Find the regasm.exe in your computer. Usually in .net framework folder. And copy to the same folder of library.
2. Click windows button, and input cmd in search bar.
3. Run cmd.exe as administrator
4. Input the command and change the work folder to the library folder.
5. Run regasm.exe and add the codebase switch to register the library.
Ex: regasm.exe /codebase zmotifgraphics.dll
6. Console will show register type library successful.