It's about time this is fixed.

I would like to lock my computer when bazaaring, use UAC with the secure desktop and run another DirectX game (Windowed and/or Full-screened) without FFXI crashing with the following error:
Terminated as error occurred in FINAL FANTASY XI. An error has occurred (Error code: FFXI-9001)(-1).

FYI: The crash appears to occur when restoring the desktop back to normal. The game continues to work while the computer is locked or if you login remotely using remote desktop... but will crash as soon as you unlock locally.

(In the case of playing another game, the crash appears to occur during the exiting of that other game)