Hello there,
I was a turbo Pascal programmer from V3 to BP7 and I just discovered Lazarus few weeks ago. I love it., before I moved to Perl and a bit of Python.
For a project I have to write a windows 32 bits dll.
Until now, everything ok
but today, I had add some code in my dll :
filemode := fmOpenReadWrite + fmShareDenyNone;
assignFile(f,'toto.txt');
rewrite (f);
{
w := 1;
repeat
Write(f, s2^[w]);
inc(w);
until s2^[w] = #$0000;
}
closefile(f);
and it hangs, it is the Rewrite function that hangs, I tried to assign to c:\toto.txt but it's the same.
Do you know why please ?
Thanks
Janfi