Navision hangs itself

StevenRStevenR Member Posts: 9
Hello,

I wrote 2 class library's in vb.net to communicate with navision thru an automation.
Now the class library's (dll"s) work fine. But every now and then navision hangs it's self
without the dll's giving an error. And i can't put my finger on it because every situation is differt.
Today for instance i noticed that every time the screensaver jumps on navision hangs itself. So the
only way then is to use ctrl+alt+delete to close the navision and reboot navision.

Is there anyone that cal help me with issue. First i thougth that there was something wrong with the
dll's but now i've build a full log and they don't give any errors.

Again i hope someone can help me because i'm having this problem now for over a week.

Regards,

Steven

Comments

  • ara3nara3n Member Posts: 9,256
    what does your DLL do?

    Are you using multi threading? events?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • ta5ta5 Member Posts: 1,164
    Same questions as Rashed, and also:
    Does the the DLL try to output something to the screen? I have seen very strange things with DLL's in NAV.

    Thomas
  • StevenRStevenR Member Posts: 9
    Yes, the application is multi - thread and it uses events to give back data to navision.
    the dll is also used to display something to the screen ?
  • ara3nara3n Member Posts: 9,256
    Nav handles events in single thread. So try to queue the events and call the sequentially.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.