I know it's possibly to dynamically link, but not so sure about statically link. You'd probably need a C++ header to do that. Which can be done, of course.
Now I have a question: how many tenths of a second did you save by not typing two more letters in "classmate", and what are planning to use those accumulated savings on?