How can I program the code to animate object with it's weights

I have the bones data weights of object exported by max,but I dont know how to program the code to animate object with them.

http://www.google.com/search?q=character+modeling+bone+skinning+code