[fpc-pascal]Pointer Help

James Mills prologic at prologitech.com
Sun Feb 9 11:36:57 CET 2003

On Sun, Feb 09, 2003 at 08:30:57PM +1000, James Mills wrote:
> Hi all,
> Sorry if this is trivial, but I'm sick of it :)
> I'm using fpc to convert my (originally delphi) code to read and write
> ini style files, however writing will not work as I want, the data in
> the pointer keeps getting filled with junk.
> I'm using getMem, and reAllocMem functions to create dynamic arrays of
> strings. The writeINI function reads the entire file in, but doesn't
> even do that correctly.
> I have a test program that uses the same idea, and it works perfectly,
> so I'm very bewildered :(
> attached is the code if someone would like to have a look at it, please.
> thank you
> James

Sorry, forgot to include the tokenizerclass.pas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tokenizerclass.pas
Type: text/x-pascal
Size: 1573 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20030209/028897e1/attachment.pas>

More information about the fpc-pascal mailing list