Re: MIDI Development




<c.melchiorri@xxxxxxxxx> wrote in message
news:52e29032-59f3-4f46-abd5-176d3f6f15c6@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I don't know if is this a right place to ask something about
development, but I didn't find some specific newsgroup..
so, I am using for the first time MIDI protocol to using a Yamaha
Mixer remotly, and I'm sending commands by System Exclusive, but
during debuging sometime software must be stopped before it had
destroyed the Handles that lock the midi-in channels, so when I try to
reconnect an exception told me the the port is already in use...
I'm looking for a command or procedur to unlock this port, beacouse in
the new session I can't have the old handle to destroy it.

Anybody knows how can I do this?

Some Sugestions?

Thanx in advance

A bit more information on your development/debugging environment, and also
how your program accesses the MIDI ports, would help.

IME with C++, when a debugging session is terminated all handles go out of
existence, so the problem doesn't arise. That suggests there's some aspect
to your setup that you aren't describing fully.

There are standard kludge techniques for this sort of situation that you're
probably aware of, like running the application outside the debugger and
using trace techniques like cprintf() to a DOS window. That way you can get
your information on the fly, and also allow the program to close out
whatever objects that are causing the problem. For real time I tend to debug
this way more than by using debuggers.

MIDI-Ox and MIDI-Yoke are good allies with this sort of work BTW.


.



Relevant Pages

  • Re: Connecting Vortex86 - 6072
    ... I guess I will have to setup an Ethernet connection to the board... ... even if kernel debugging is not turned on. ... downloads, but, based on this message, "Override Serial Driver: No COM port ... configured to do that, hence, no download of OS image or anything else. ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Accessing private information
    ... you to sort the results by time the packet arrived, port, source, ... I want to see my yahoo messenger texts on the server. ... >> Through that server, network users are chatting by MSN, Yahoo ...
    (RedHat)
  • Re: Daisy Chain Multiple Ethernet Devices?
    ... into the living room where it's currently plugged into my PS3. ... you have a single-port broadband "router" (which is probably also ... port switch. ... the location from whence I post sort of requires I ...
    (comp.dcom.lans.ethernet)
  • Re: Can i debug/watch on the triggers INSERTED and DELETED records/values?
    ... we found that debugging did not work when you had Windows ... Now, port 135 is not any port: ... So opening port 135 is a little unsafe, ... > Windows firewall.) ...
    (comp.databases.ms-sqlserver)
  • C 128s ROM socket
    ... sort of a new topic, so I didn't reply to that. ... I've thought about that ROM socket in the C128 a lot and have on occasion ... So I'm hoping to use something on the IEC port to store more ... up trying to read/write to a serial flash ram chip via the user port.. ...
    (comp.sys.cbm)

Loading