Hi All,
I know I am not allowed to use Queues in my NTWS program (and have seen the strange results by doing so!). However I drill into a lot of my existing windows program functions and it is going to be a big job to convert them all to use the In-Memory file driver. I was doing some research in the help docs and not sure if I was to make the queue static and threaded if that would solve my problems or what other problems this would then cause me?
"The THREAD attribute on a QUEUE declaration declares a static QUEUE data buffer which is allocated memory separately for each execution thread in the program. This makes the values contained in the QUEUE dependent upon which thread is executing. Whenever a new execution thread is begun, a new instance of the QUEUE, specific to that thread, is created."