A CAD Standards plug-in DLL must be registered with Windows before it can be used by the CAD Standards framework. The regasm.exe application is used to register a DLL with Windows and generate a Registry (REG) file that be used as part of an installer to register a DLL. The regasm.exe application is part of the .NET Framework.
 Accessories
 Accessories  Command Prompt.
 Command Prompt. "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe" /codebase /regfile:<COM_RegFilename> <DLL_Fflename>
"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe" /codebase /regfile:<COM_RegFilename> <DLL_Fflename>
"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe" /codebase /regfile:"C:\CAD Plug-ins\MyLayersPlugin.reg" "C:\CAD Plug-ins\MyLayersPlugin.dll"
After a CAD Standards plug-in DLL is registered with Windows, the CAD Standards plug-in DLL must also be registered with the CAD Standards framework. You register a CAD Standards plug-in DLL with the CAD Standards framework by adding the programmatic identifier (ProgId) of the plug-in to the following key in the Windows Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Drawing Check\Plugins2
 Accessories
 Accessories  Notepad.
 Notepad. REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Drawing Check\Plugins2\<Plug-in_ProgId>] @=<Component>
 Save As, and then select All Files from the Save As Type drop-down list. Enter a file name for the REG file and type .reg after the file name.
 Save As, and then select All Files from the Save As Type drop-down list. Enter a file name for the REG file and type .reg after the file name.