API 文档 > External tasks > Object ProJlink > Function ProJlinkTaskExecute
Function ProJlinkTaskExecute
Description
Call a static method, with variable arguments, in a J-Link application.
Replacement in Object TOOLKIT:
Synopsis
#include <ProJlink.h>
ProJlinkTaskExecute
(
/* (In)
Handle to the Jlink application.
*/
ProCharLine task_id
/* (In)
The name of the task listener registered using J-Link calls bt the application.
*/
ProArgument* input_args
/* (In)
ProArray of input arguments. This should not include any arguments of type PRO_VALUE_TYPE_POINTER.
*/
ProArgument** output_args
/* (Out)
ProArray of output arguments.
*/
char ** exception
/* (Out)
If the method threw an exception, the exception description is stored here. Free this string using ProStringFree(). Pass NULL if you are not interested in this information.
*/
)
Returns
Task executed successfully.
One or more input arguments are invalid.
The application threw an exception. See the exception output argument for more details.
The task could not be found.
The handle is valid but the application is not active.
A virtual machine error occurred. See the exception output argument for more details.
User Guide References
这对您有帮助吗?