PChar/es
Deutsch · English · Español · Français · Русский
Un PChar es un Data type y un Pointer a una cadena terminada en null. La aplicación más importante de PChar es para su interacción con librerías de sistema tales como dll's.
Messagebox:
var
s: String;
begin
s := 'Test';
Application.MessageBox( PChar(s)),'Título', MB_OK );
end;Declaration:
var
p: PChar;Valid assignments:
p := 'Esto es una cadena terminada en null.';
p := IntToStr(45);Argumentos no válidos:
p := 45;El valor integer no se ha caracterizado como PChar que es lo que se esperaba.
Ver también
From the Free Pascal wiki, page "PChar/es", as it stood on 2021-09-03 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Edited on wiki.freepascal.org by 5 people, 2017–2021
From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.
| When | Who | What changed |
|---|---|---|
| Jma sp | ||
| Mathias | (minor) | |
| Useroflazarus | ||
| Trev | Fixed syntax highlighting; removed categories included in template (minor) | |
| Kai Burghardt | rename of template Pchar to PChar Special: Diff/146650 (minor) |
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
