[fpc-devel]Gtk Programming : converting a string to a Pgchar

Paul Skinner paulskin at icon.co.za
Sat Mar 17 16:55:16 CET 2001


Hi,

var details : array[0..2] of Pgchar;
      filename,artist,title : string;

begin
 ...
   details[0] := @filename;
   details[1] := @artist;
   details[2] := @title;
   gtk_clist_append (clist4, details);
...
end;

That really comes out screwed... I want to know how to (properly) convert a string
to a pgchar

Thanks

-Paul Skinner

-----------------------------------------
  Owner, Computer 2000cc

 "And theres those that go..
  and theres those that stay..
  and you walk out on the edge of the
  world and you balance yourself there
  for a while and you figure out which
   one your gonna be...
  and alot of our friends are doing
  other things right now.. and were
  standing up on this stage..  "






More information about the fpc-devel mailing list