library Project2;
{ Important note about DLL memory management: ShareMem must be the
first unit in your library's USES clause AND your project's (select
Project-View Source) USES clause if your DLL exports any procedures or
functions that pass strings as parameters or function results. This
applies to all strings passed to and from your DLL--even those that
are nested in records and classes. ShareMem is the interface unit to
the BORLNDMM.DLL shared memory manager, which must be deployed along
with your DLL. To avoid using BORLNDMM.DLL, pass string information
using PChar or ShortString parameters. }
uses
SysUtils, Unit1, Messages, Dialogs,
Classes;
{$R *.res}
procedure setgerman;
stdcall;
begin
try
Form1.GroupBox1.Caption := '
Sprache';
Form1.Button5.caption := '
Ton wählen';
Form1.Button6.caption := '
Zeit wählen';
Form1.Button1.caption := '
Wecker stellen';
Form1.BitBtn1.caption := '
&Schließen';
Form1.BitBtn2.caption := '
&Info';
Form1.Panel2.caption := '
nicht bereit';
except showmessage('
shit');
end;
end;
procedure setfrench;
stdcall;
begin
Form1.GroupBox1.caption := '
Langues';
Form1.Button5.caption := '
choisir sonnerie';
Form1.Button6.caption := '
choisir l´heure';
Form1.Button1.caption := '
démarrer le réveil';
Form1.BitBtn1.caption := '
&Quitter';
Form1.BitBtn2.caption := '
&Info';
Form1.Panel2.caption := '
pas réglé';
end;
procedure setenglish;
stdcall;
begin
Form1.GroupBox1.caption := '
Language';
Form1.Button5.caption := '
set sound';
Form1.Button6.caption := '
set time';
Form1.Button1.caption := '
set alarm';
Form1.BitBtn1.caption := '
&Close';
Form1.BitBtn2.caption := '
&About';
Form1.Panel2.caption := '
not ready';
end;
exports setgerman, setfrench, setenglish;
begin
end.