From: Eion McIntosh (CHCH) [mailto:[EMAIL PROTECTED]]
>> Try putting in
>> 
>> WritePrivateProfileString('', '', '', '');
>
>Sorry this gave a me access violation error at an address in 'ntdll.dll'

Well it worked for me a few years ago, but that was in Win95 when having ini
file flushing problems.  On reflection, it wasn't ever going to work when
ini files weren't involved. :-/

If you can somehow get hold of the open file handle you can call
FlushFileBuffers, but otherwise I don't know what you can do, sorry.

Cheers,
Carl
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to