Skip to main content
3-Newcomer
July 19, 2025
Question

HowTo? TKapp#1 invoking TKapp#2

  • July 19, 2025
  • 2 replies
  • 481 views

Creo10 & ProToolkit & Cpp...   Button#1 (in UI_dialog#1) would have a callback, which would... step1) load DLL#2, and then step2) Call an exported Function (eg. "display_dialog_2") which would result in UI_dialog#2 being displayed alongside-of, or in-front-of UI_dialog#1.   *But, I cant seem to get step 2 to work.  UI#2 never displays.  Any help&guidance would def be appreciated.  Code example(s) even better.

2 replies

18-Opal
July 22, 2025

I,m not sure if this is a good idea😉

 

 But you may check this.

 

typedef ProError (*ProTkdllFunction)( ProArgument* inputs,
ProArgument** outputs );
/*
Purpose: This is the function prototype for a function that can
be called from a external application using
ProToolkitTaskExecute().

Input Arguments:
inputs - ProArray of input arguments passed to the function.
The function must not free the array or any allocated
memory contained in this array.
Output Arguments:
outputs - ProArray of output arguments passed by the function.
The function must allocate memory for this array and
its contents.

Return Values:
Any return value - Passed as an output for ProToolkitTaskExecute().

See Also:
ProToolkitTaskExecute()
*/

Community Manager
July 28, 2025

Hello @DeanK,

 

It looks like you have a response from a community member. If it helped you solve your question please mark the reply as the Accepted Solution. 
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.