Answer the question
In order to leave comments, you need to log in
Error 149: Virtual Expected - what is the error?
Hello. I don't understand Pascal. I copied the code from the tutorial, it gives error 149 at startup. Google does not help, Google has a list of errors without explanation. What could be the problem?
Program P1;
uses App, Objects, Views, Drivers, Menus;
type
TMyAppl = object (TApplication)
constructor Init;
procedure InitStatusLine;
procedure InitMenuBar;
procedure HandleEvent(var Event:TEvent); virtual;
end;
var MyAppl: TMyAppl; {экземпляр}
begin
MyAppl.Init; {конструктор - делает начальные установки}
MyAppl.Run; {выполнение - обработка событий}
MyAppl.Done; {деструктор - уничтожение объектов}
end.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question