Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "P E Schoen" Newsgroups: comp.lang.pascal.delphi.misc Subject: Re: Strings and PChar (D4 Pro) Date: Sat, 27 Aug 2016 06:03:01 -0400 Organization: A noiseless patient Spider Lines: 1 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit Injection-Date: Sat, 27 Aug 2016 10:03:09 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b1af19846bb81aaa3b3db89d0d6b1b2f"; logging-data="28232"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/A26ODveapSbA6nIeq0cOs+GOqzza3990=" X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 In-Reply-To: X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 Importance: Normal Cancel-Lock: sha1:ib9NgYirh9A31H8ZInrNk6xasO4= X-Priority: 3 X-MSMail-Priority: Normal Xref: csiph.com comp.lang.pascal.delphi.misc:733 "P E Schoen" wrote in message news:nprn44$mvb$1@dont-email.me... I found a simpler function: =============================================== procedure TfmOrtDatabase.btBackupClick(Sender: TObject); var currDir: String; begin GetDir(0, currDir); ... ChDir(currDir); end; =============================================== But I would still like to learn more about strings and PChar. Thanks, Paul