Extract a C/C++ header file from a C# class exposed to COM
- by isorfir
I'm not sure I've setup everything I've needed to in my C# class to properly, but it does work in COM. I've been looking for an example of a C# class that was successfully used in a C/C++ project, but haven't come across anything.
I've tried using the OLE/COM Object View app to open the .tlb file and save as .h, but it gives some errors: MIDL1009: unknown argument ignored; MIDL1001: cannot open input file Studio
"Studio" isn't the name of the file, it's Syslog, so that raises a red flag to me.
Any ideas?