mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-28 16:03:48 +02:00
18 lines
304 B
ObjectPascal
18 lines
304 B
ObjectPascal
{ %TARGET=win32 }
|
|
|
|
{ Old file: tbs0241.pp }
|
|
{ Problem with importing function from a DLL with .drv suffix ! OK 0.99.11 (PM) }
|
|
|
|
program test_win32_drv;
|
|
|
|
procedure printer;external 'winspool.drv' name 'AbortPrinter';
|
|
|
|
procedure test;
|
|
begin
|
|
Writeln('Loading of Winspool works ');
|
|
end;
|
|
|
|
begin
|
|
test;
|
|
end.
|