"Why would the behaviour change from running from the IDE to executing from the command line?"
If you use synchronize, the IDE calls "CheckSynchronize" for you. In command line you need to do this in main thread.
_________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives