Einzelnen Beitrag anzeigen

NicoDE
(Gast)

n/a Beiträge
 
#7

Re: Strings innerhalb der DLL verändern (C-DLL)

  Alt 20. Apr 2005, 14:44
Wie wäre es mit...
Delphi-Quellcode:
function RetStr2(Len: Longint; Str: PWideChar): Longint; stdcall;
begin
  lstrcpynW(Str, 'Hello, World!', Len);
  Result := 42;
end;
Code:
signed long __stdcall RetStr2( signed long Len, wchar_t * Str )
  Mit Zitat antworten Zitat