[CONNECT Update 15 C++] ScaleRotateTextCell example crashes when clicking any function button on it, am I using it wrong or is it bugged?

It is a example under C:\Program Files\Bentley\MicroStationCONNECTSDK\examples\Elements\ScaleRotateTextCell

I can successfully bmake (\ScaleRotateTextCellbmake -a  ) the example and load it via utility. 

but crashes the microstation program when clicking the  Origin rotate text&cell  and  Origin scale text&cell  function.

The  Active scale by 3 points  and  Active rotate by 2 points  only responds but does not work by scaling nor rotating any selected element/object/model/text.

and only the  undo  button works, which by clicking it undo any globally performed action.

Please tell me what could be done to make this example work? Help is much appreciated.

Parents Reply
  • Probably so, but could you give more detail as to why this example crashes

    Without knowing your design file and/or analyzing memory dump, nobody can say.

    There is no error warning signs nor log I could find, at least not anywhere I searched under prefix "Bentley" in my system files.

    See this wiki page (but there are more, discussing MicroStation exceptions in different aspects).

    But in certain situations (because it is switched off, or the crash is specific and does not lead to standard crash procedure), MicroStation does not create memory dump. In such case I recommend to:

    • Configure the full dump (it's always better for analysis), see this wiki.
    • Use pageheap for detail memory monitoring, see this wiki.

    When no exception is generated even with pageheap active, configure Windows to create it automatically when MicroStation crashes. I requires to add this registry key:

    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\microstation.exe]

    but it may also require further registry modifications, e.g. the key

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps

    configures parameters like where the dumps are saved.

    It's not MicroStation specific feature, but Windows one, so you can find details in Microsoft documentation.

    With regards,

      Jan

Children
No Data