Skip to content

Commit c7b499b

Browse files
committed
fix calculator pascal library loading
1 parent d7062a4 commit c7b499b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Examples/Calculator/Calculator_component/Examples/Pascal/Calculator_Example.lpr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ procedure TCalculator_Example.TestCalculator ();
4747
ACalculator: TCalculatorCalculator;
4848
begin
4949
writeln ('loading DLL');
50-
ALibPath := ''; // TODO add the location of the shared library binary here
51-
ACalculatorWrapper := TCalculatorWrapper.Create (ALibPath + '/' + 'calculator.'); // TODO add the extension of the shared library file here
50+
ALibPath := '.'; // TODO add the location of the shared library binary here
51+
ACalculatorWrapper := TCalculatorWrapper.Create (ALibPath + '/' + 'calculator.dll'); // TODO add the extension of the shared library file here
5252
try
5353
writeln ('loading DLL Done');
5454
ACalculatorWrapper.GetVersion(AMajor, AMinor, AMicro);

0 commit comments

Comments
 (0)