Hi,

Create a DLL using ATL COM that exposes your functionality. Take a look
at Variants, BSTR and SafeArray which would help you use your code
from other languages.