Dear Ralf I've check it many times. I have trial and commercial versions in two paths. With simple program which you can find bellow error always come when I change library path to commercial version and go out whan I back to demo version. Compilation process and program are working properly. Problem starts when I try to close delphi. With commercial version I have "Invalid floating point operation" error on beginning and then sometimes I get many error windows, sometimes only one, sometimes ntdll.dll error, but always only way to finish Delphi is kill it by task manager. Please let me know if you have any ideas. Regards, Andrew ============================================================================ ============================= unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DIUnicode; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.DFM} procedure TForm1.Button1Click(Sender: TObject); var Writer: TDIUnicodeWriter; begin Writer := TDIUnicodeWriter.Create(nil); Memo1.Lines.Add('test string'); Writer.WriteMethods := Write_Utf_8; Writer.WriteStrW(Memo1.Text); Writer.SaveDataToFile('testfile.txt'); Writer.Clear; end; end. ============================================================================ ============================== -----Original Message----- From: yunqa-bounce@xxxxxxxxxxxxx [mailto:yunqa-bounce@xxxxxxxxxxxxx] On Behalf Of Delphi Inspiration Sent: Monday, October 13, 2008 10:19 AM To: yunqa@xxxxxxxxxxxxx Subject: [yunqa.de] Re: ntdll.dll error Andrzej na Clipper wrote: >After i change trial version to commercial version of DIUnicode I have always such error when I close Delphi. Program can compile and it working properly, but when I try to close Delphi I get 216 runtime error in ntdll.dll. Error went out when I back to trial version of DIUnicode. >Any suggestions?? Delphi4 std, windows vista. DIUnicode does not use ntdll.dll in any way. All character conversions are done by Delphi code without use of the Windows operating system. Could it be possible that you are referencing / dereferencing WideStrings as AnsiStrings or vice versa? Such oversights can sometimes lead to ntdll.dll errors. There are, however, no known errors in DIUnicode as such at the moment and I believe that your problem is unrelated to the library. However, if you sent some code to reproduce the problem, I will be glad to have look. Ralf _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa