Get app object from plugin?

Someone tried to get app object from a plugin point?

I tried already CallResolver with “getAppObject”, which doesn’t work.
Trying REALLoadFrameworkMethod with “App as Application” or similar won’t work.
As does “WebApplication._SharedApplication as WebApplication”.

Maybe @William_Yu knows a way?

Otherwise I have a feedback case for this wish: Feedback 61616

Have you tried REALLoadFrameworkMethod with “App As ConsoleApplication”?

2 Likes

Thanks. Seems to work.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.