You can use the Sleep API.
>Hi,
>
>I'm trying to get a timer in a VFP7SP1 COM DLL running. There is no error message, but the timer event seems not to fire. When I'm making an out of process exe COM server, everything works fine.
>
>What do I have to do to get this running? Or is it just not possible to have a timer in a COM DLL?
>
>BTW: The timer is sitting on a container. The container is the class which is exposed via COM.
>
>TIA,
>Armin
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer