| Description |
| Causes Creo Parametric to execute a function in a DLL. Note: The DLL must have been compiled in Pro/ENGINEER Wildfire 1.0 or later. Note:When done reading output_arguments, call ProArgumentProarrayFree to free the data. |
| Replacement in Object TOOLKIT: | pfcDll::ExecuteFunction |
| Synopsis |
| #include <ProToolkitDll.h> |
| ProError | ProToolkitTaskExecute | ( |
| ProToolkitDllHandle handle | |
| /*
(In) |
| The DLL handle. |
| */ |
| ProCharPath function_name | |
| /*
(In) |
| The name of the function to call in the DLL. This function must have been declared in the application using the PRO_TK_DLL_EXPORT macro and it must have a signature identical to the signature declared for ProTKDllFunction. |
| */ |
| ProArgument* input_arguments | |
| /*
(In) |
| A ProArray of input arguments passed to the DLL function. This array should not contain any ProValueData structures of type PRO_VALUE_TYPE_POINTER. |
| */ |
| ProArgument** output_arguments | |
| /*
(Out) |
| A ProArray of output arguments outputted from the DLL function. The called function should not populate this array with any ProValueData structures of type PRO_VALUE_TYPE_POINTER. |
| */ |
| ProError* function_return | |
| /*
(Out) |
| The return value of the DLL function. |
| */ |
| ) |
| Returns |
|
|