Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#2

AW: C++ zu Delphi übersetzung

  Alt 15. Sep 2017, 15:38
Hallo,

Hier der Anfang:
Delphi-Quellcode:
type
  ISubRenderOptions = interface(IUnknown)
    ['{7CFD3728-235E-4430-9A2D-9F25F426BD70}']
    function GetBool(field: PChar; out value: BOOL): HRESULT; stdcall;
    function GetInt(field: PChar; out value: Integer): HRESULT; stdcall;
    function GetSize(field: PChar; out value: TSize): HRESULT; stdcall;
    function GetRect(field: PChar; out value: TRect): HRESULT; stdcall;
    function GetUlonglong(field: PChar; out value: UInt64): HRESULT; stdcall;
    function GetDouble(field: PChar; out value: Double): HRESULT; stdcall;
    function GetString(field: PChar; value: PChar; out chars: Integer): HRESULT; stdcall;
    function GetBin(field: PChar; value: Pointer; out size: Integer): HRESULT; stdcall;
    // ...
  end;
Ohne Gewähr.

Ein wenig dreist ist es aber schon einfach zu Fragen ob jemand für dich die Arbeit machen kann
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."

Geändert von Neutral General (15. Sep 2017 um 15:44 Uhr)
  Mit Zitat antworten Zitat