0 Replies Latest reply: Oct 27, 2008 4:03 AM by andrejusc RSS

    How to obtain SPRuntime pointer?

    andrejusc Community Member
      Hi,

      In Adobe Dialog Manager documentation there is such code snippet:

      SPErr error = kSPNoError;
      SPHostProcs *gHostProcs;
      error = sSPRuntime->GetRuntimeHostProcs(&gHostProcs);
      if (!error)
      {
      gHostProcs->startupNotify(kSetMessage,
      (void*)"Initializing QuickDraw 3d", gHostProcs->hostData);
      }

      What is the way from plugin code to obtain that sSPRuntime pointer?