mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 09:59:17 +02:00
* new bug
This commit is contained in:
parent
ecc3b24fd4
commit
cf2e893656
27
tests/webtbs/tw1780.pp
Normal file
27
tests/webtbs/tw1780.pp
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{$mode objfpc}
|
||||||
|
uses Sysutils;
|
||||||
|
|
||||||
|
procedure store (Handle: Pointer; const FileName: PChar; ErrorStruct: Pointer); cdecl; alias:'store';
|
||||||
|
|
||||||
|
procedure yes (const aa: AnsiString);
|
||||||
|
begin
|
||||||
|
writeln(aa);
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
try
|
||||||
|
yes (FileName);
|
||||||
|
|
||||||
|
except
|
||||||
|
on e: Exception do
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure extstore(h:pointer;filename:pchar;errorstr:pointer);external name 'store';
|
||||||
|
|
||||||
|
|
||||||
|
begin
|
||||||
|
extstore(nil,'test',nil);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user