Hello Guest it is March 28, 2024, 05:37:18 PM

Author Topic: Plugin forced calls  (Read 2531 times)

0 Members and 1 Guest are viewing this topic.

Plugin forced calls
« on: May 29, 2010, 11:01:40 AM »
Hi,
Don’t anyone know, is there a way to force a plugin to be run "called".  From what little I understand. Normally a plugin is called every 100mS.  I would like to be able to call a plugin from within a macro and have it run without delay!  Any ideas…


MiniDave ???

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Plugin forced calls
« Reply #1 on: May 30, 2010, 03:59:49 AM »
Yes, Use  the VB  "NotifyPlugins( some integer here)  then in your Plugin area in Machdeviceimplementation.cpp

in the notify code.

void   myNotify ( int ID)
{
   if( ID == myIntegerID ) //this is the integer you send from the VB NotifyPlugins(myIntegerID)
                 {
           do your code here;
                 }
}

scott
fun times
Re: Plugin forced calls
« Reply #2 on: May 31, 2010, 05:00:32 PM »
 ;D


Thanks Scott, Great help.

MiniDave