User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Seem to get random error messages on startup..... »
Welcome, Guest. Please Login or Register.
May 3rd, 2025, 9:35pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Questions and Discussion
(Moderator: Jamie OConnell)
   Seem to get random error messages on startup.....
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Seem to get random error messages on startup.....  (Read 946 times)
swayzak
Member
**



MIDI-OX Rules!

   


Posts: 71
Seem to get random error messages on startup.....
« on: Dec 19th, 2002, 3:49am »
Quote Quote Modify Modify

hi
 
I have set up shortcuts in the Startup folder which point towards the appropriate profiles (e.g. "hammerfall to yoke 1" and "sw1000 to yoke 1").
 
I get a message saying something like "Driver didn't close correctly last time. Do you want to try again ?"
 
If I click OK then everything continues as normal.
 
This error doesn't seem to happen everytime.
 
I am not aware of a problem with driver closing in the previous shutdown prior to this message.
 
Any ideas ?
 
cheers
 
swayzak
IP Logged
symo
New Member
*



MIDI-OX Rules!

   


Posts: 3
Re: Seem to get random error messages on startup..
« Reply #1 on: Dec 19th, 2002, 5:57am »
Quote Quote Modify Modify

Are you the real Swayzak?? If you are I love your groovetechnology1.3 CD. Not that this helps you with your problem................................................................
 
s
IP Logged
swayzak
Member
**



MIDI-OX Rules!

   


Posts: 71
Re: Seem to get random error messages on startup..
« Reply #2 on: Dec 19th, 2002, 7:54am »
Quote Quote Modify Modify

Alas no - just love the stuff....
IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: Seem to get random error messages on startup..
« Reply #3 on: Dec 19th, 2002, 10:47am »
Quote Quote Modify Modify

That message is part of the MIDI-OX fail-safe mechanism.  It logs driver opens as it connects them to a log file named _MOXBOOT.TXT in the application directory.  You can use this file to determine which driver failed.  It also sets a registry flag for each MIDI-OX instance (Profile1, Profile2, ...) named LastOpenFailed prior to opening each driver and clears the flag upon a successful return.
 
On a subsequent session, if it finds LastOpenFailed set, it assumes MIDI-OX has crashed or hung while trying to open the device, and then displays the message, rather than trying to open it again.  This prevents never being able to run MIDI-OX again because of a bad driver.
 
I suppose you could always force a MIDI-OX launch by forcibly resetting that flag on each instance with a .REG file before launching.  
 
 
« Last Edit: Dec 19th, 2002, 11:03am by Jamie OConnell » IP Logged

--Jamie
Music is its own reward.

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


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