Sign in Join
Wiki copytemporary

Cppdecl/de: what changed

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

Title: Cppdecl/de

OldNewLine
1+Zurück zu den [[Reserved words/de|reservierten Wörtern]].
2+
3+Der Modifier <b>cppdecl</b> gehört zu den Aufrufkonventionen von internen und externen Unterprogrammen.
4+
5+Der Modifier <b>cppdecl</b> wird dazu verwendet um eine Funktion nach der C++-Typaufrufkonvention aufzurufen.
6+
7+Beispiel 1:
8+
9+``` pascal
10+function subTest: string; [cppdecl];
11+begin
12+ subTest := 'abc';
13+end;
14+```
15+
16+Beispiel 2:
17+
18+``` pascal
19+ ...
20+ function funcTest(strTestdaten: Pchar) : LongWord; cppdecl; external 'Test.dll';
21+ ...
22+```
23+
24+---
25+*From the Free Pascal wiki, page "Cppdecl/de", as it stood on 2020-02-12 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).*

Back to history