LVCA_RunProjectA/LVCA_RunProjectW

This function will allow the call to enter a new Platform Project.  

LVCA_API BOOL WINAPI LVCA_RunProjectA(HANDLE hCA, LONG ProjectID, LPCSTR Repository);

LVCA_API BOOL WINAPI LVCA_RunProjectW(HANDLE hCA, LONG ProjectID, LPCWSTR Repository);

Return Value:

If successful, LVCA_RunProject returns true.  If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.

Supported on Events:

CAMSG_CALLSTART

CAMSG_ENTERMODULE

CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

CAMSG_TIMEOUT

CAMSG_ERROR

Params:

hCA (IN) Call handle passed into function

ProjectID (IN) In the Platform Administrator under Platform Projects you will see the Project ID assigned to each Project.  Set this parameter to the ID of the Platform Project you wish to run.  When switching to a file Platform Project this parameter must be set to zero.

Repository (IN) buffer filled with the location of the project.  If you are loading the project from an Platform Database this will be the SQL Server Instance i.e. computername or computername\Platform.  If you are loading the project from a file, place the complete file path in this buffer.

Notes:

When switching projects the call will not return to the calling project.  If you wish to return, call LVCA_RunProject.


Complete Help Topic List | Speech Platform Product Information