Board index » delphi » Incompatible types 'string' and 'pchar'
Brett Jones
![]() Delphi Developer |
Sun, 13 Dec 1998 03:00:00 GMT
Incompatible types 'string' and 'pchar'Help! The following code worked well under Delphi 1.0 but doesn't compile under 2.0 Procedure CreateBackup(Const Filename : String); It generates compiler error 208 = Incompatible types 'string' and 'Pchar' The filename variable which is passed to DeleteFile() is supposed to be of The old file will not be renamed to the new extension unless the previous Does anyone have a way of backing up a file which works?? -- |