Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I got a problem about created dialog, the steps create -> activate -> exit -> destroy worked fine at first but second time failed.
creo 2.0 M230
win7 x64
first, dialog shows normally
after close dialog then click button again, dialog doesn't show up
this discussion describes the same situation but the solution doesn't work for me.
Solved: OTK C++ - Creation of Dialog fails the second time - PTC Community
If the status is -1 he can't create the dialog because the old one is created already.
Or he can't find the .res file because it's at the wrong location. (Could be also a problem with the resource remembering management).
My std. Code look nearly the same:
char * gtqae_DIALOG_NAME = "gtqae_dialog";
prerr = ProUIDialogCreate(gtqae_DIALOG_NAME, "gtqae_dialog.res");
So I use .res at the second one ... first one could be with or without .res ... never had problems with that.
You could try to change the foldertypes by using :
ProUITranslationFilesEnable(); as first line inside your user_initialize method.
Br,
Eike
Make sure that you are using correct 'dialog_name' and 'resource' in the API call.
Try using the same value for these two.
I am having a very similar issue to this, did you solve this issue?
I am also currently experiencing problems.
If so, please share your solution.