SmartCAM Technical Bulletin: 222
Announcing

Topic: Troubleshooting Predator Editor For SmartCAM

Technote 222
Date: 10/06
Product: Predator Editor for SmartCAM
Version: v12.x and Up

Problem:

The problem I'm having is:

  • Installed SmartCAMv13, removed SmartCAMv12, and now Predator runs in Demo mode.
  • Moved SmartCAM to a new machine and now Predator runs in Demo mode.
  • Getting Runtime error '-<number>', Automation error, Library not registered.
  • Cannot create or copy a new template.
  • Error that MDAC must be installed or is out of date.
  • Uninstalled Editor 6.1 and installed 7.0, now File Association does not work.


  • Installed SmartCAMv13, removed SmartCAMv12, and now Predator runs in Demo mode.

    Predator Editor for SmartCAM uses existing SmartCAM licenses. There is a version of the editor that uses the SmartCAMv12 licensing and a version that uses the SmartCAMv13 licensing. When you migrated from SmartCAMv12 to SmartCAMv13 you likely forgot to update your copy of Predator Editor.

    Download the Predator Editor for SmartCAM v13 installation from the SmartCAM website: http://www.SmartCAMcnc.com/Release/download.php. Uninstall your existing Predator Editor and install this new version.


    Moved SmartCAM to a new machine and now Predator runs in Demo mode.

    Predator Editor for SmartCAM uses existing SmartCAM licenses. There is a version of the editor that uses the SmartCAMv12 licensing and a version that uses the SmartCAMv13 licensing. When you changed computers and reinstalled Predator Editor, you must not have upgraded your copy.

    Download the Predator Editor for SmartCAM v13 installation from the SmartCAM website: http://www.SmartCAMcnc.com/Release/download.php. Uninstall your existing Predator Editor and install this new version.


    Getting Runtime error '-<number>', Automation error, Library not registered.

    Several of the components within Predator Editor need to be registered - specific information added to the Windows Registry. Try the following to resolve the issue.

    Go to Start, Run and paste in each of the regserv strings, one at a time. There are four lines to paste in, depending upon your browser width, the lines might be wrapped to next line on the display.

    regsvr32 "C:\Program Files\Predator Software\Editor 7.0\PVEditorSIMLibrary.dll"
    regsvr32 "C:\WINDOWS\system32\Predator Software\Common Files\Upgrade Dialog\PUpgrade Dialog.dll"
    regsvr32 "C:\Program Files\Predator Software\Editor 7.0\XMdlAtl.dll"
    regsvr32 "C:\WINDOWS\system32\scrrun.dll"

    These lines assume you installed using the default paths. If not, adjust the paths to match. Additionally, these are for the Predator Editor for SmartCAM v13 installations (version 7x of the editor). If you are running the SmartCAM v12 version (version 6.1 of the editor), replace "Editor 7.0" with "Editor 6.1" in the paths.


    Cannot create or copy a new template.

    It is possible that some of the paths for the templates are incorrect or corrupted. Run the program 'Pviewer.exe' from the 'C:\Program Files\Predator Software\Editor 7.0' directory.

    For the six paths shown, use the "..." button to reselect each path. The subdirectory name matches the folders label. All are located in the Predator Software\Common Files subdirectory.

    If you are running Predator Editor for SmartCAM v12 (not v13), replace "Editor 7.0" with "Editor 6.1".


    Error that MDAC must be installed or is out of date.

    Predator CNC Editor requires Microsoft MDAC version 2.7 or later to be installed on the PC. If you recieve an error that your MDAC components are out of date, use the following link to download the correct version. Once the download is complete, install the components.

    http://msdn.microsoft.com/data/mdac/downloads/default.aspx


    Uninstalled Editor 6.1 and installed 7.0, now File Association does not work.

    When Predator Editor v6 (version for SmartCAM v12) is uninstalled, it does not remove all of the file association registry entries. When the upgraded version is installed, it is not replacing these Windows registry entries that are left over.

    Use the Windows Registry editor to remove the following registry keys to reset this functionality. After removing the keys, you can double-click on the file and rebuild the file association.

    Unless you are very familiar with Registry settings, have your IT person make these changes. Also, make a backup of your registry first.

    Remove the following settings:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cod_auto_file]
    @=""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cod_auto_file\shell]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cod_auto_file\shell\open]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cod_auto_file\shell\open\command]
    @="\"C:\\Program Files\\Predator Software\\Editor 6.1\\PEditor.exe\"
    \"%1\""