Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC:

Destruct sequences 03 Jul 2017 22:49 #2027

  • FFF
  • FFF's Avatar
  • Topic Author


  • Posts: 1393
  • Guys,
    in a VN (ex VO) app now under X#, i use on a datawindow a specialized sle class. Part of it's specialness is it protects another instance of the owning windows' server to do some checks.
    My problem: app crashes when closing the app via menu or "X". Closing the window itself produces no crash. I added a destructor where server is closed and nulled, but to no avail.
    No big deal, as i'm not sure if i'll follow this implementation path further, but i wonder what's the big difference in the "destroy" path between close window and close app...

    TIA
    Karl
    Regards
    Karl (X# 2.14.0.4; Xide 1.33; W8.1/64 German)

    Please Log in or Create an account to join the conversation.

    Destruct sequences 04 Jul 2017 16:49 #2032

    • Chris
    • Chris's Avatar


  • Posts: 3759
  • Hi Karl,

    Too hard too tell without seeing the code. Can you recreate the problem in a very small standalone app, with only one window and one such SLE? If yes, please post it to have a look. If not, usually the best way to debug such issues is to start removing parts from the app/windows, until the error doesn't happen anymore, which will give a very good hint n what is actually causing it (ie the last thing you removed!).

    Chris
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1