Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   typedef C nach Delphi (https://www.delphipraxis.net/176401-typedef-c-nach-delphi.html)

Horst0815 2. Sep 2013 16:52

typedef C nach Delphi
 
wie würde man folgenden type richtig übersetzen

Code:
typedef int(*SapiWaveOutputCallback)(void*, void*, int);

Mikkey 2. Sep 2013 17:00

AW: typedef C nach Delphi
 
etwa so

Delphi-Quellcode:
t = function(p1, p2: Pointer; i: Integer): Integer;

Gruß, Mikkey

Horst0815 2. Sep 2013 17:54

AW: typedef C nach Delphi
 
danke


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:15 Uhr.

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