Hacker News new | ask | show | jobs
by debugnik 231 days ago
Note that VST3 doesn't implement the COM vtable layout, their COM-like FUnknown really is just 3 virtual methods and a bunch of GUIDs. They rely on the platform's C++ ABI not breaking.

You're right that QueryInterface can return a different object, but that doesn't make it significantly more complicated, assuming you're not managing the ref-counts manually.

1 comments

Yes, ironically the COM in AAX and COM in VST3 have slightly different layouts.