quote:
Originally posted by Itsme-HcK
Maybe I should try #winprog.
Of course, the plug-in runs the whole time, but it is not active.
There is no main function or such, it is only activated when MsgPlus calls a function.
To use Windows timers, you need to be active all the time, and it's not.
So, only if MsgPlus! parses the messages from the DLL, it can be used.
My simple question: Does it?
When using Windows timers/the timer code from raceprouk, your dll/functions/whatever you are on about, doesn't need to active all the time... When you have called the UINT TimerID function, the timer runs! No matter if your dll/form/function is active or not! The timer runs, and runs, and runs! Nothing more, nothing less...
Setting the number of ms in the timer event, adjusts how often the CallBack function is called... If time in ms is 1000, the callback funtion will be called 1 time every second... And still No matter if your dll/form/or whatever is active!