NecroDOME
11-10-2006, 04:00 PM
Im trying to create a timer within a DLL.
procedure TEngineTimer.Init;
begin
OnTimer := OnTimerRun;
MaxFPS := 1000;
Enabled := True;
ShowMessage('Timer');
end;
Problem: When the ShowMessage is visible the timer runs. When I remove the ShowMessage the timer doens't do anything.
Is this a problem with threads or something?
(Im using OmegaTimer)
procedure TEngineTimer.Init;
begin
OnTimer := OnTimerRun;
MaxFPS := 1000;
Enabled := True;
ShowMessage('Timer');
end;
Problem: When the ShowMessage is visible the timer runs. When I remove the ShowMessage the timer doens't do anything.
Is this a problem with threads or something?
(Im using OmegaTimer)