Stdcall/de: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | Zurück zu den [[Reserved words/de|reservierten Wörtern]]. | |
| 2 | 2 | ||
| 3 | - | ||
| 3 | + | Der Modifier stdcall gehört zu den Aufrufkonventionen von internen und externen Unterprogrammen. | |
| 4 | 4 | ||
| 5 | 5 | Beispiel: | |
| 6 | 6 | ||
| 7 | 7 | ``` pascal | |
| 8 | 8 | function subTest: string; [stdcall]; | |
| 9 | 9 | begin | |
| 10 | 10 | subTest := 'abc'; | |
| 11 | 11 | end; | |
| 12 | 12 | ``` | |
| 13 | 13 | ||
| 14 | 14 | Beispiel 2: | |
| 15 | 15 | ||
| 16 | 16 | ``` pascal | |
| 17 | 17 | ... | |
| 18 | 18 | function funcTest(strTestdaten: Pchar) : LongWord; stdcall; external 'Test.dll'; | |
| 19 | 19 | ... | |
| 20 | 20 | ``` | |
| 21 | 21 | ||
| 22 | 22 | --- | |
| 23 | 23 | *From the Free Pascal wiki, page "Stdcall/de", as it stood on 2020-02-27 after a change by Trev, 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).* |
