Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2001-03

Gtk Programming : converting a string to a Pgchar

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Paul Skinner

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.. "

Reply by email