On 2/19/2014 5:58 PM, leledumbo wrote:
Well, if you're not using FPC, then asking for non-FPC code here isn't the
right way. It's useless to point yout o FPC units that BP7 doesn't have.

this is rather true and i forgot to prefix my subject line with OT... my apologies for that...

but i'm not really asking for non-FPC code to do this, though... at least, i don't think i am... just code that will work with BP7 until i can convert this to FPC DOS code... i certainly don't need access to huge amounts of memory... 64k in the heap is more than enough for this tool and the way it functions... the KIS principle at work :)

As you've experienced, ReplaceStr (from StrUtils), StringReplace (from
SysUtils) are FPC and Delphi routines, and BP7 doesn't have those units
AFAIK. They don't work with PChar anyway.

true but i'm hoping that someone still has their old libraries available and code to do this that they are willing to share... not to mention that BP7 is only one step away from delphi 1, unless i misunderstand things...

in any case, how is a PChar string that much different than FPC's current use of pointer based null terminated strings on the heap?

--
NOTE: No off-list assistance is given without prior approval.
      Please keep mailing list traffic on the list unless
      private contact is specifically requested and granted.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to