Category Asynchronous mode, Object ProAsynchronous

Function ProAsynchronousMain


Description
Called from an asynchronous program which will be started by a Creo Parametric session. This function should be called from the user-supplied main() as early as possible, to establish the connection between the user application and the Creo Parametric session which launched it.
Synopsis
#include <ProCore.h>
ProErrorProAsynchronousMain(
int argc
/* (In)
You cannot modify this argument in any way.
*/
char** argv
/* (In)
You cannot modify this argument in any way.
*/
)
Returns
PRO_TK_NO_ERRORThe connection succeeded.
OtherThe connection failed.

Sample Code References:

  1. pt_async ( TestAsync.c )