Why can't my code see RenderOptionsSuite4?
Hi Folks,
I have a plugin that needs to call AEGP_RenderAndCheckoutFrame() like so:
err = suites.RenderOptionsSuite3()->AEGP_RenderAndCheckoutFrame();
However, I get the error, "No member named 'AEGP_RenderAndCheckoutFrame' in 'AEGP_RenderOptionsSuite3'. Hmmm...so I upgraded to the latest SDK just to make sure nothing was missing, and I got the same error.
Then I discovered a newer version of the suite in the headers:AEGP_RenderOptionsSuite4. Ah ha! So I changed my code to this:
err = suites.RenderOptionsSuite4()->AEGP_RenderAndCheckoutFrame();
But now I get this error: "No member named 'RenderOptionsSuite4' in 'AEGP_SuiteHandler'". When I go looking in AEGP_SuiteHandler.h, I indeed see that it has no references to RenderOptionsSuite4. It has references to version 2 and 3, but not 4.
How can I call RenderOptionsSuite4 functions, and why does it behave so differently from other suites that I'm calling?
Thanks!