93
begin
while command_ok = 0 do
begin
Application.ProcessMessages;
end;
wait(200);
end;
procedure TForm1.panele_false();
begin
panel_start.Visible := false;
panel_login.Visible := false;
panel_servo.Visible := false;
panel_settings.Visible := false;
panel_about.Visible := false;
end;
procedure TForm1.refresh_app();
var
INI : TINIFile;
DLL : THandle;
Decrypt : function (Password : string) : String;
begin
if PageControl1.ActivePageIndex = 4 then
begin
DLL := LoadLibrary('encryption.dll'); //loading file
INI :=
TINIFile.Create(ExtractFilePath(Application.ExeName) +
'setup.ini');
try
@Decrypt := GetProcAddress(DLL, 'Decrypt'); //
pointer to the procedure
if @Decrypt = nil then raise Exception.Create('Can’t
load Encryption.dll library!');
Comentários a estes Manuais