Skip to main content
10-Marble
Dec 19, 2025 6:03 AM UTC
Solved

Issue with ProUIDialogCreate Returning PRO_TK_GENERAL_ERROR

Hello guys,

 

I am facing an issue with the ProUIDialogCreate API returning PRO_TK_GENERAL_ERROR when a dialog creation DLL is invoked from another DLL. When the same DLL is executed independently, ProUIDialogCreate returns PRO_TK_NO_ERROR and the dialog is created successfully.

 

Note: The ProUIDialogCreate call is implemented inside the user_initialize() function.

if anyone knows the solution, pls let me know.

regards
Araivnd

10-Marble
Dec 22, 2025 1:42 PM UTC

Hello @Navku @MartinHanak guys

 

I really appreciate your response actually, it was my mistake I'd given the wrong text dir path. Now the tool is working as expected.

 

Regards

Aravind

3 replies

24-Ruby III
Dec 19, 2025 10:09 AM UTC

Hi,

please contact PTC Support, too.

Translate
14-Alexandrite
Dec 22, 2025 1:33 PM UTC

Keep filename and dialog name inside the res file as same. 

If you rename the res file, It will create error. 

 

Translate
Aravind_9810-MarbleAuthorAnswer
10-Marble
Dec 22, 2025 1:42 PM UTC

Hello @Navku @MartinHanak guys

 

I really appreciate your response actually, it was my mistake I'd given the wrong text dir path. Now the tool is working as expected.

 

Regards

Aravind

Translate