Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Greenbolt on July 10, 2021, 12:01:11 pm

Title: C++ and EA.TLB
Post by: Greenbolt on July 10, 2021, 12:01:11 pm
Hey Everyone!

EA Version: 15.2

I hope everyone is doing well. I have a question regarding the EA.tlb file. I am using QtCreator with MingW-8 right now. When I generate some .cpp and .h code from the TLB I get a lot of "must use 'enum' tag to refer to type 'ObjectType'" in this scope. Is that a known issue, or am I doing something wrong in the generation of the code from the TLB? I tried using dumpcpp with and without --nometaobject and I tried using some flag for QMake. Is this the wrong approach? Or should only VisualStudio be used for doing COM applications?