IonicWind Software

IWBasic => General Questions => Topic started by: Steven Picard on April 14, 2008, 08:38:28 PM

Title: Formless Timer
Post by: Steven Picard on April 14, 2008, 08:38:28 PM
I am creating a Firewall in a DLL right now using EBasic.  Does anyone know how to create a formless timer?  My main application will call a function StartFirewall in the DLL.  I want it to set a timer that will call a specific function after x number of milliseconds but return from the function StartFirewall before that timed function is called.
Title: Re: Formless Timer
Post by: Ionic Wind Support Team on April 14, 2008, 09:22:04 PM
http://msdn2.microsoft.com/en-us/library/ms713423(VS.85).aspx

Although it mentions it is "XP only" the function has existed and worked on all versions of windows since the 3.1 days.  It is part of the multimedia DLL.

Paul.
Title: Re: Formless Timer
Post by: Steven Picard on April 14, 2008, 09:23:50 PM
Exactly what I was looking for.  Thanks!