From: You_Know_Who AT NoSpam DOT I DOT Am (Darac) Newsgroups: comp.os.msdos.djgpp Subject: How to use Allegro's midi_msg_callback function? Organization: Replace 'NoSpam.I.Am' with 'I.Am' in eMail address to Reply Message-ID: <381c4c92.5417713@news.f9.net.uk> X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 6 Date: Sun, 31 Oct 1999 14:13:20 GMT NNTP-Posting-Host: 212.56.127.117 X-Complaints-To: abuse AT plus DOT net DOT uk X-Trace: wards 941379288 212.56.127.117 (Sun, 31 Oct 1999 14:14:48 GMT) NNTP-Posting-Date: Sun, 31 Oct 1999 14:14:48 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Can someone tell me how to use Allegro's midi_msg_callback function? The documentation says that it is called each time there is a MIDI message sent but where do I put the code that I want done each time it's called? Also, the documentation says that the code should be 'locked'. What does that mean? A brief example you be most helpful.