Threadid

threadid:nnnn

The ThreadID (nnnn) must be between 1 and 2048. At this time, status messages in the AFP are managed via a shared memory area. The ThreadID is used exclusively to determine the address of this status area. If multiple threads have the same ID, their error messages that are e.g. displayed in the ControlCenter will overwrite each other.

The AFP CThreadServer which is responsible for the allocation of the thread IDs and is administered by the AFP server, allocates the IDs by starting with 1 and counting in ascending order. The program AFP3Debug.PRG uses 1800 as ThreadID. If you don't execute a new thread via the RemoteControl interface but execute AFP3.8.EXE directly, you should choose a value higher than 1800.