Category Asynchronous mode, Object ProEngineer

Function ProEngineerConnectionStart


Description
Causes the Creo Parametric TOOLKIT program to spawn and connect to a new Creo Parametric session. ProEngineerDisconnect can be called later to disconnect from created Creo Parametric session. It is intended for use in full asynchronous mode.
Synopsis
#include <ProCore.h>
ProErrorProEngineerConnectionStart(
char* proe_path
/* (In)
The path and file name of the Creo Parametric executable, or a script that runs it.
*/
char* prodev_text_path
/* (In)
The path under which the Creo Parametric TOOLKIT message and menu files are held. This is used in full asynchronous mode only. Otherwise, pass a null string.
*/
ProProcessHandle* p_handle
/* (Out)
A pointer to a process handle to be used in subsequent calls to Creo Parametric.
*/
)
Returns
PRO_TK_INVALID_PTRCould not get a valid handle to connect to the started Creo Parametric.
Othersee returns for ProEngineerStart() and ProEngineerConnect()

Manual References:

  1. Core: Asynchronous Mode: Simple Asynchronous Mode
  2. Core: Asynchronous Mode: Simple Asynchronous Mode
  3. Core: Asynchronous Mode: Simple Asynchronous Mode
  4. Data Management: Windchill Operations: Sample Batch Workflow