Einzelnen Beitrag anzeigen

NicoDE
(Gast)

n/a Beiträge
 
#2

Re: array of pchar aus dll übergeben???

  Alt 7. Apr 2004, 21:19
Zitat von yellomb:
ich möchte aus einer dll-function ein array of PChar übergeben,
Dafür brauchst Du einen Typ:
Delphi-Quellcode:
type
  PPCharArray = ^TPCharArray;
  TPCharArray = array of PChar;

function GetFoo(Bar: PChar): TPCharArray;
//...
procedure FreeFoo(var Bar: TPCharArray);
  Mit Zitat antworten Zitat