I am developing a system that involves simple OLE/J-Scripts. It happens
that due to coding bugs I end up with a second instance of AmiBroker. When
this happens I can only detect this using the windows task manager.
Several times now i have wasted hours trying to find out why my code didn't
export proper reports only to find out that a second AB was running. When I
closed everything down everything works fine.
Would anyone know how to detect from (preferable) AFL, or J-Script, whether
AB is already running?
TIA,
herman