05-06-2023, 04:28 AM
COM methods cannot be static. Probably need to define an interface, and a class that implements it, add ComVisible attribute, define that interface in QM too, in QM create object of that interface type, and call functions through that object. Not tested.