Sign in Join
Wiki copytemporary

sLinklib/de: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: sLinklib/de

OldNewLine
1+Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]].\
2+
3+## \$LINKLIB
4+
5+Die Direktive \$LINKLIB erlaubt das Linken (Einbinden) von Bibliotheken (Dynamic Link Library's).\
6+
7+Beispiel:\
8+
9+``` pascal
10+interface
11+// die Bibliothek (DLL) mit dem Namen test wird eingebunden
12+{$LINKLIB test}
13+
14+// stellt die Funktion der Bibliothek (DLL) zur Verfügung
15+function strTest (P : pchar): longint; cdecl;
16+
17+implementation
18+
19+// importiert die Funktion aus der Bibliothek (DLL)
20+function strTest (P : pchar): longint; cdecl; external;
21+
22+end.
23+```
24+
25+Hinweise:\
26+Der Linker sucht nach der Bibliothek im Linker Bibliotheks-Suchpfad. Der Suchpfad des Linkers kann mit der Kommandozeilenoption -Fl eingestellt werden.\
27+
28+--Olaf 16:57, 4 January 2013 (UTC)
29+
30+---
31+*From the Free Pascal wiki, page "sLinklib/de", as it stood on 2020-01-16 after a change by Bart, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
32+Category: Free Pascal Programmers Guide/de

Back to history