Working on converting a component from Delphi 5... Given this: FComments: String; p : PChar; This line compiles fine: p := PChar(ExtractFilename(FFileSource)); But this line generates an illegal type conversion: p := PChar(FComments); Any ideas? -- Tony Maro Systems Consultant The Maro Group (256) 337-5759 http://www.maro.net/