I can only recommend C ++ in combination with the Microsoft ATL library.
I used a code generation tool written in C ++ that helped me get rid of quite a few templates. This tool generated code that created more C ++-friendly interfaces (for example, the code that is generated in tlh / tli files when you #import the type library in Visual Studio. My code generator generates similar code only for COM servers.
If you are interested, send an email to DerTopper at web dot de. Put something like โCOM Code Generatorโ in the subject line so that you donโt get into my spam filter.
Regards, Stuart
source share