I'm developing a DLL, and I need a timer to check some events. I could use VCL TTimer, but DLL becomes too large, then I try to use SetTimer and KillTimer Win32 API, but it don't works well. Could someone tell me/show me an example about how to use SetTimer and how to define TimerProc callback?? OBS : My application don't have forms. I read Win32 reference and it says that the window handle can be NULL, but don't works too.
Tanks in advance.