fbpx
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

Destruct sequences 1 year 8 months ago #1

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

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

Destruct sequences 1 year 8 months ago #2

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