Unfortunately COM is c++. I have tried in the past to convert automatically but it is quite a hard task. There is WinAPI functions to parse the files although I never figured out how to use it. Just keep in mind that the layout of methods has to be exact when you convert them. You can't miss one.