## Troubleshooting Pro/ENGINEER DCI Errors

The first thing you should do when troubleshooting the Pro/ENGINEER DCI is to run PC-DMIS with the “/proedebug” command-line flag. This will make diagnostic messages appear.

To do this:

1. In Windows, right-click on the short-cut that launches PC-DMIS.

2. Click on Properties. The Properties dialog box appears.

3. Click the Shortcut tab.

4. In the Target box append to the existing string this flag: /proedebug

5. Use PC-DMIS as usual.

Problem: | PC-DMIS is able to load the dll, but is unable to get Pro/ENGINEER to successfully launch.
Possible Causes: |

- Is a process called xtop already running?
  Check the Windows Task Manager. If there is a process called xtop from a previous session of Pro/ENGINEER or the Pro/ENGINNER DCI, you should terminate it before the Pro/ENGINEER DCI can run.

- Is PRO_COMM_MSG_EXE set properly?
  In versions prior to PC-DMIS 3.5, the environment variable PRO_COMM_MSG_EXE must equal the full path to the file pro_comm._msg.exe in the Pro/ENGINEER installation.

- Are the ini file/registry entries correct?
  In the [ProEngineer] section of the Pcdrln.ini file or the PC-DMIS Settings Editor, the ProEngineerExecutableName entry should contain be the command used to run Pro/ENGINEER from the command line.

- Can Pro/ENGINEER be run from a Command Prompt window?
  The Pro/ENGINEER installation needs to be set up so that it can be run from the command line. This is done by default in most installations.

- Does Pro/ENGINEER create a file called std.out?
  Check both the directories where the pcdlrn.exe file and the Pro/ENGINEER model are located. If you find a find a file named "std.out", it may contain diagnostic information from Pro/ENGINEER.

Problem: | When importing a DCI part program file on a computer that doesn't have a Pro/ENGINEER license, it takes a very time before giving a timeout message.
Possible Causes: |

- Is the ProEngineerLoad registry entry is set to TRUE.
  You can find this entry in the [ProEngineer] section of the PC-DMIS Settings Editor. You should set this entry to FALSE if you do not have a Pro/ENGINEER on the computer that will be running the part program.