I'm afraid I have no experience of AppLocale, but the error can be with DirectX Runtime.
Please download "ToyStudio 2006_12_21dx.lzh" and extract that. Try to update DirectX Runtimes by excuting "DirectX9/DXSETUP.exe" once. Because it seems that DirectX Runtime has differences in minor versions.