[lazarus] Converting string to pgchar?

John Margaglione jmargaglione at hotmail.com
Fri Jun 18 15:30:25 EDT 1999


Does anyone know how to convert a pascal String to a glib PGChar?  I assumed
that since PGChar is actually just a pointer to a char, that I could use
PChar( stringvar ).  That, however, doesn't compile.  I tried
PGChar(PChar(stringvar)).   That didn't work either.  Any ideas?

John






More information about the Lazarus mailing list