Skip to main content
1-Visitor
November 10, 2020
Question

Creo Crashes when changing the dialog

  • November 10, 2020
  • 1 reply
  • 1245 views

Hi,

 

I have a OTK dialog where I use pfsession->Select() for selecting entity from UI. I have button which when presessed, asks user for selection by ->select call. If user launches a new UI or press cancel, creo crashes.

 

My investigation says, the selection object is leaking. Any help.

 

Thanks

1 reply

10-Marble
January 17, 2024

I encountered the same problem.

Similar situations occur when I call UIOpenFile() or UISaveFile() function.

output thrown exceptions info: Invalid parameter passed to C runtime function.

I have to use pro toolkit function instead of object toolkit,like  ProSelect()