MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Scripting Questions >> win 7 -wsh exceptions with example scripts
(Message started by: simonjay on Dec 4th, 2011, 7:04pm)

Title: win 7 -wsh exceptions with example scripts
Post by simonjay on Dec 4th, 2011, 7:04pm
Hi, I get the following exceptions trying the example scripts

Script  C:\Program Files (x86)\MIDIOX\WSH\MOXScriptDemo.vbs
Line: 77
Char: 4
Error: The server threw an exception
Code: 80010105
Source: (null)

Breath2NRPN.js line 24 char 1

Any idea what is going wrong ?

Thanks,
Simon.

Title: Re: win 7 -wsh exceptions with example scripts
Post by Peter L Jones on Dec 4th, 2011, 7:34pm
How do you run the script (in detail).  I just double-clicked it and stepped through the MsgBox popups without error.

(Win7 x64)

Title: Re: win 7 -wsh exceptions with example scripts
Post by simonjay on Dec 4th, 2011, 8:05pm

on 12/04/11 at 19:34:55, Peter L Jones wrote:
How do you run the script (in detail).  I just double-clicked it and stepped through the MsgBox popups without error.

(Win7 x64)


I just double clicked on them. I clicked through several boxes on the VBS one before the exception. The JS script crashed straight away.
This is also on win7 x64.

Thanks,
Simon.

Title: Re: win 7 -wsh exceptions with example scripts
Post by simonjay on Dec 4th, 2011, 10:49pm
It always fails on the FireMidiInput call.
It must be because I have no midi inputs at present - only the midiox event port.
Now, what is the method to catch this error properly and present the user with a "no midi inputs" box ?
Simon.



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.