D dwn.220.v.ua

delphi dll string pchar

function GetAString(Buffer: PChar; BufLen: Integer): Integer; stdcall; var ...

📦 .zip⚖️ 85.8 MB📅 06 Mar 2026

function GetAString(Buffer: PChar; BufLen: Integer): Integer; stdcall; var S: String; begin S:= SomeFuncThatReturnsString; Result:= Min(BufLen.

⬇ Download Full Version

var str: string; . SetLength(str, GetString(nil, 0) - 1); GetString(PChar(s...

📦 .zip⚖️ 61.2 MB📅 24 Jan 2026

var str: string; . SetLength(str, GetString(nil, 0) - 1); GetString(PChar(str), Length(str) + 1); Delphi wraps these as WideString. A twist though.

⬇ Download Full Version

If you copy text to a PChar -“string”, you must always make sure that .. fo...

📦 .zip⚖️ 62.6 MB📅 01 Jun 2026

If you copy text to a PChar -“string”, you must always make sure that .. for instance in a DLL, that must pass back data as a PChar, yourself?‎PChars · ‎Strings · ‎Using them together.

⬇ Download Full Version

Here's the Delphi DLL: Library Example; uses SysUtils; procedure GetSt...

📦 .zip⚖️ 108.3 MB📅 14 Feb 2026

Here's the Delphi DLL: Library Example; uses SysUtils; procedure GetStr(A: PChar; B: PChar);stdcall; var StrData:Longword absolute B; //make.

⬇ Download Full Version

DllCall to a Delphi DLL passing/receiving strings (PChar) - posted in Ask f...

📦 .zip⚖️ 15.3 MB📅 26 Nov 2025

DllCall to a Delphi DLL passing/receiving strings (PChar) - posted in Ask for Help: Can someone please help me with a problem I have with a.

⬇ Download Full Version

Hello Experts:) Another problem with DLL:) I need: send a string to DLL - p...

📦 .zip⚖️ 23.5 MB📅 09 Mar 2026

Hello Experts:) Another problem with DLL:) I need: send a string to DLL - play with Passing/ receiving PChar to/ from DLL. Posted on Delphi. 7.

⬇ Download Full Version

So DLL written in D7, to be called by Delphi XE2 My interface needs to be. ...

📦 .zip⚖️ 97.1 MB📅 23 Apr 2026

So DLL written in D7, to be called by Delphi XE2 My interface needs to be. IN My DLL: function d7zipFile(pFatFile,pThinFile: PChar): integer;.

⬇ Download Full Version

A common mistake is to involve a local variable in a return to PChar Demo i...

📦 .zip⚖️ 19.3 MB📅 29 Nov 2025

A common mistake is to involve a local variable in a return to PChar Demo illustrating how to pass string // or record data from a DLL to a.

⬇ Download Full Version

Hi, I have a dll that must return a string to a C#.Net application and also...

📦 .zip⚖️ 106.2 MB📅 05 Mar 2026

Hi, I have a dll that must return a string to a C#.Net application and also needs to server a Delphi application. I have defined my delphi function.

⬇ Download Full Version

class Program { [DllImport("dwn.220.v.ua")] static extern int Get...

📦 .zip⚖️ 71.9 MB📅 23 Apr 2026

class Program { [DllImport("dwn.220.v.ua")] static extern int GetRecordByPointer(byte[] pChar); static void Main(string[] args) { byte[] ptrMyData  Delphi-Dll function with return Boolean throw.

⬇ Download Full Version

When a need arises to return a list of strings from a DLL, your first insti...

📦 .zip⚖️ 65.8 MB📅 24 May 2026

When a need arises to return a list of strings from a DLL, your first instinct may be to Sharing a Delphi class between different modules is illegal. list of strings to a type that isn't a class and doesn't require freeing: a PChar.

⬇ Download Full Version

I am having trouble creating a dll in Delphi that returns a string (pchar) ...

📦 .zip⚖️ 68.2 MB📅 08 Sep 2025

I am having trouble creating a dll in Delphi that returns a string (pchar) to a C++ application. I had no problems passing in pchars from a C app.

⬇ Download Full Version

First of all, most of my functions pass type 'strings' around, bu...

📦 .zip⚖️ 28.2 MB📅 28 Aug 2025

First of all, most of my functions pass type 'strings' around, but I am creating a DLL, to make sure it's universal, i can only pass type 'PChar' in.

⬇ Download Full Version

Building DLLs in Delphi is so easy that you might overuse this feature. . T...

📦 .zip⚖️ 89.5 MB📅 23 Oct 2025

Building DLLs in Delphi is so easy that you might overuse this feature. . The second function is quite complex because PChar strings don't have a simple +.

⬇ Download Full Version

I need to pass Pchar(Pascal String Pointer) type inputs from Labview to the...

📦 .zip⚖️ 96.8 MB📅 28 Apr 2026

I need to pass Pchar(Pascal String Pointer) type inputs from Labview to the DLL. When I wire a string control to the Call Library Function Node.

⬇ Download Full Version