cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Translate the entire conversation x

HowTo? TKapp#1 invoking TKapp#2

DeanK
3-Newcomer

HowTo? TKapp#1 invoking TKapp#2

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 2
RPN
17-Peridot
17-Peridot
(To:DeanK)

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()
*/

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.

Announcements

Top Tags