Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi dll functionen in einer separate Unit declarieren (https://www.delphipraxis.net/64370-dll-functionen-einer-separate-unit-declarieren.html)

milanlu 2. Mär 2006 18:31


dll functionen in einer separate Unit declarieren
 
Delphi-Quellcode:
unit Unit9;

interface

implementation

      function proveri_id3v1(pesmicica: String): Boolean; stdcall;
      external 'stdfss.dll';
end.
Frage1: wie kann ich die function public machen oder ist sie schon public???
Frage2: Wie kann ich jetzt die function von Unit1 aufrufen???

Danke im Voraus

arbu man 2. Mär 2006 18:32

Re: dll functionen in einer separate Unit declarieren
 
Probiers mal so:
Delphi-Quellcode:
unit Unit9;

interface

function proveri_id3v1(pesmicica: String): Boolean; stdcall;

implementation

      function proveri_id3v1(pesmicica: String): Boolean; stdcall;
      external 'stdfss.dll';
end.

milanlu 2. Mär 2006 18:34

Re: dll functionen in einer separate Unit declarieren
 
Danke man. Es lauft. :dancer: :dancer: :dancer: :dancer2: :dancer2:


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:40 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz