我无法在lazarus中执行程序,lazarus是否支持wintypes和winprocs
base.pas(2,13)致命:找不到项目检查器使用的WinType。
program ex;
uses Wincrt,WinTypes, WinProcs;
var
ch:string;
procedure exe (che:string);
begin
writeln('ecrire ch');
readln(che);
if ch ='oui' then
begin
WinExec('cmd /k "C:\TPW\exercice\project\site.html"', SW_NORMAL);
end;
end;
begin
exe(ch);
end.
答案 0 :(得分:-1)
<Grid HorizontalOptions="FillAndExpand">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
</Grid.ColumnDefinitions>
<Label Grid.Column="0" HorizontalOptions="StartAndExpand" />
<Label Grid.Column="1" HorizontalOptions="End" />
<Label Grid.Column="2" HorizontalOptions="End" />
<Label Grid.Column="3" HorizontalOptions="End" />
</Grid>
功能已过时。请改用WinExec
ShellExecute