BTW: best place to start with is
http://www.3dconnexion.com/support/4h.php
this is the SDK (software development kit) from 3dconnexion if you are planning to write an interface with any of there devices.
It does have sample codes/header files/libraries for C compilers (both in 32bit and 64bit)