On Tuesday, 4 November 2025 at 04:55:15 UTC, Richard (Rikki)
Andrew Cattermole wrote:
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.
I appreciate your response. Yeah, COM is C++. Let me check the
api functions to parse the IDL. And yeah, I just tested with
interface and it must be aligned with the com vtbl. I think if we
use dummy place holders, parameters and their types doesn't
matter. In any case, I am confident that I can parse this idl
file to a D interface.