I'm working on an application, which needs to base itself on a DLL, written in managed code (C#), in order to function. That DLL contains type definitions.
Therefore a convertor has been written, based on a *.json conversion file, which creates native C++ source code (the type definitions from the DLL get translated into native C++ types, and we have access to the source code of the DLL).
That auto-generated code is almost unreadable (last week I stumbled upon a line of 17980 characters), but there are also other issues.
I just wonder if there is no simpler way to handle such situation instead of auto-generating native code out of managed DLL and JSON, does anybody have an idea?
Thanks in advance