Can you explain a little more about what you want to do? There would be several ways to do this.
Use your existing MIDI library to respond to MIDI events, and then send a series of keyboard keystrokes to do something.
Create a custom server that runs on your computer and talks to your device. Then you can connect to your "MIDI" server and send and receive data using sockets (i.e. you could create a controller surface in Flex or Silverlight if you want). I used this approach to create a MIDI controller application on an Android phone.
Create a website that will talk to your device. This would use almost the same methods as # 2. I really got this working with the ASP.NET website, it was a very simple proof of concept - you load a page and it plays a note on your MIDI device. With the library mentioned below, you pretty much just βopenβ your device, and then listen to the data and transfer the data.
I created my own MIDI through the TCP / IP library based on this code sample in CodeProject: http://www.codeproject.com/KB/audio-video/midiwrapper.aspx .
I planned Open Sourcing that the code did not have time to prepare it. If you are interested, I could be sure that you post it somewhere.
Brian source share