I'm having the smae problem!!!! : Sorry, this is a long one. But I've spent a long time researching it before : posting :) : I started out trying to do something very simple; have an email sent to me : when a trappable error occurs in cross-language call from a VBS script. : Now, I can't get cross-language calls to work at all? : Here's the script: ------------------- : Sub Main() : JALScript.Execute "OnErrorStop" & vbCrLf & "RaiseError : ""Err Here!""" : End Sub : Here's the Trace window results: --------------------------------- : VBS Starting script execution : JALSS JALScript Service loaded : JALSS Request Event 732, Stop Event 736, Read Pipe 740, Write Pipe 744 : JALSS JALScript Service Listener started : VBS Invoking sub Main... : The job starts, but never finishes. When I try to restart 24x7, I get the : warning message about spawned process. : Now it get's more strange.... If I keep running the job (5 or 6 times), : eventually it will go start to finish, but only if I have the trace window : available (the first 5 never finish though). Without trace, I can run it : 20 times and it never finishes. : Here's an even simpler variation: --------------------------------- : Sub Main() : JALScript.Execute : "LogAddMessage(""INFO"",""My : Info"")" : End Sub : This one runs, BUT only if the trace window is enabled???? : Also, the following script: --------------------------- : ' This script shows "Hello" message : Sub Main() : MsgBox "Hello" : End Sub : is reported as having a syntax error by the debugger? Maybe related? : All the jobs are Async + Detached and I'm using Ver 3.4.7 : Thanks for helping!
|