Page 1 of 1

Delphi 2007 PRO and Twidememo support

Posted: Tue 20 Nov 2007 15:38
by snorkel
Hi,
Does anyone know if the PRO sku of Delphi 2007 would somehow limit the use of Twidememo in MyDAC?

I have 2007 Enterprise at work and the twidememo support works perfectly. I take the same code with the same versions of MyDAC and at home on the PRO versions of Delphi 2007 the widememo support does not work at all.
I have checked everything and it can only be CodeGear has somehow limited the use of Twidememo on the PRO SKU.

Has anyone else had issues with twidememo support the the PRO sku of Delphi 2007?

Thanks,

Snorkel

Posted: Wed 21 Nov 2007 08:14
by Antaeus
I explored the features matrix of Delphi 2007, and found no difference between Enterprise and Professional editions regarding TWideMemo. There should be another cause for this problem.
In what way does the problem appear? Does it appear with standard Delphi components (BDE, ADO, etc.)?

Posted: Mon 03 Dec 2007 23:42
by snorkel
Antaeus wrote:I explored the features matrix of Delphi 2007, and found no difference between Enterprise and Professional editions regarding TWideMemo. There should be another cause for this problem.
In what way does the problem appear? Does it appear with standard Delphi components (BDE, ADO, etc.)?
I don't know about the other components, but I have verfied that on fresh installs of both and fresh installs of MyDAC the widememo support refuses to work on Delphi 2007 Pro. Same OS, and clean installs of Delphi pro and enterprise. Same project code also, checked out of subversion with no changes.
The exe compiled with D2007 enterprise works as advertised with twidememo and the one compiled with Pro do not.

I even created a simple project with a form and some databound Tnt unicode controls and the project worked fine on Enterprise, but not on Pro.

Posted: Wed 05 Dec 2007 12:16
by Antaeus
Why do you think TWideMemo does not work in Delphi 2007 Professional? What is the difference between applications made by Professional and Enterprise Delphi editions? What field classes are created by each Delphi?

Posted: Mon 17 Dec 2007 18:17
by snorkel
Antaeus wrote:Why do you think TWideMemo does not work in Delphi 2007 Professional? What is the difference between applications made by Professional and Enterprise Delphi editions? What field classes are created by each Delphi?
Because when I compile the exact same source in PRO the TNTdbmemo control shows ????????, I then compile the exact same source on Enterprise and the TNT control shows the correct text.
This is on exact duplicate PCs, only difference is the Delphi SKU.
Same version of TNT, same version of MyDAC etc , even going against the same database on the same vesion of MySQL 5.
There are database differences between PRO and Enterprise, most notably is the missing SQL Monitor component for DBexpress, so I can only conclude that there is some weird difference going on with twidememo.

The same classes are created, but in Delphi 2007 PRO twidememo is not working, don't know why.

Posted: Thu 20 Dec 2007 14:26
by Dimon
Most likely it is the problem of the TNT controls. Try to check fields values in any way without TNT controls.
For example, try to save value of this field to a file (TWideMemoField.SaveToFile) and verify whether the data equals for Enterprise and Professional editions.

Posted: Fri 11 Jan 2008 03:42
by snorkel
Dimon wrote:Most likely it is the problem of the TNT controls. Try to check fields values in any way without TNT controls.
For example, try to save value of this field to a file (TWideMemoField.SaveToFile) and verify whether the data equals for Enterprise and Professional editions.
I might consider that, but the install of TNT is from the same zipped distribution, I used it to install on both. I can check when I have time. But I really don't think I will find anything.