Timer functions rejected in win98 install

Ariez

Centurion
Joined
Feb 28, 2003
Messages
164
I installed this app on win98se and has a timer in it.
The first tick of the timer thew an exeption saying it requires NT...
What should I do?
(I installed the framework on the computer though!!!!)

************** Exception Text **************
System.PlatformNotSupportedException: Feature requires Windows NT.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_StartTime()
at PoLLit.ComUnitClass.instanciateCom()
at PoLLit.ComUnitClass.ComTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)
 
Last edited:
The exception has nothing to do with the timer itself. The code executing in your ComTimer_Tick event is the problem. The StartTime property of the Process class is not supported on Windows 98.
 
Back
Top