hi all
I wonder is it possible to make a Navision client sit and listen for event from external module without a loop? I have a DLL that gets the data from the serial communication, process it, and set ready for use.
Right now, I have Navision in infinite loop waiting for the data. What I need is some sort of event trigger from Navision and i'm not sure how to do so.
Thank you
0
Comments
This is a stripped DLL code:
What am I doing wrong? and Where in C/AL I can see that WithEvents trigger?
In your code is nothing to fire any event which can send a data to Navision. By the way, I think that safer way is to save the received data into a file and create timer loop in Navision to check for that file(s).