Cannot Import Zmotif Graphics Library in C++

Article ID: 92194776

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.

+ Applicable Products

  • ZXP Series 7 Card Printer
  • ZXP Series 7 Pro High Performance Card Printers
  • ZXP Series 7 with Laminator
  • ZXP Series 8 Card Printer
  • ZXP Series 8 Secure Issuance Card Printer
  • ZXP Series 9 Card Printer