Page 1 of 1

SQL editor windows crashes when UniSynEdit is installed

Posted: Thu 30 Aug 2007 15:59
by crafty
Hi,

After installation of UniSynEdit package I'm unable to edit SQL in TMyQuery. When the edit windows opens I get "Out of memory" error. If I install normal SynEdit package the error disappears. This isn't a good solution because I need Unicode in my SynEdit.

The Unicode SynEdit (http://mh-nexus.de/unisynedit.htm) is mention at the original SynEdit website and "will become the main distribution in the future".

When I ignore the error my query contains only "meSQL" text instead of my original query content.

The first few lines of Details in the error window look like this:
+ $56[12703362]{SynEdit_R2006.bpl} Synedittextbuffer.TSynEditStringList.SetCapacity + $56
+ $B1[0965C0D1]{dcldac100.bpl} Creditor.SetMemoText + $B1
+ $53[0966182B]{dcldac100.bpl} Dasqlframe.TDASQLFrame.SetSQLText + $53
+ $2D[09661A8D]{dcldac100.bpl} Dasqlframe.TDASQLFrame.LoadMemo + $2D
+ $31[09661B4D]{dcldac100.bpl} Dasqlframe.TDASQLFrame.DoActivate + $31
+ $6[5205CA19]{vcl100.bpl } Controls.Controls.TWinControl.WndProc (Line 7246, "Controls.pas" + 105) + $6
+ $6[5205C1A4]{vcl100.bpl } Controls.Controls.TWinControl.MainWndProc (Line 7021, "Controls.pas" + 3) + $6
+ $0[51F60BC0]{rtl100.bpl } Classes.Classes.StdWndProc (Line 11572, "classes.pas" + 8) + $0
...


System specification:
MySQL Dac 5.10.0.9 for Delphi 2006
Unicode SynEdit - 13 July 2007 (newest available)
Delphi 2006 (10.0.2558.35231)

Posted: Fri 31 Aug 2007 07:17
by Antaeus
Thank you for information.
You can temporarily disable SynEdit. Open the following registry key: HKEY_CURRENT_USER\Software\CoreLab\MyDAC\Editors. Add a new DWORD parameter, and name it UseSynEdit. If the value of this parameter is 0, standard Memo components are not replaced with SynEdit.
We will consider support for UniSynEdit in the nearest time.

Posted: Tue 04 Sep 2007 13:12
by Antaeus
We investigated the issue with the UniSynEdit components, and found no ways to support the current version of them. So we decided to disable syntax highlighting with UniSynEdit.
We also asked Maël Hörz from mh-nexus.de to add an interface required for our components. We will support UniSynEdit as soon as required changes are introduced in UniSynEdit.

Posted: Wed 05 Sep 2007 14:50
by crafty
Thank you.