Little Bug in CREditor.pas v5.0.1

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
itsds
Posts: 37
Joined: Mon 30 Apr 2007 10:38
Location: Germany - Bochum
Contact:

Little Bug in CREditor.pas v5.0.1

Post by itsds » Fri 03 May 2013 12:46

On My XE3 die Query Editor throw an Exception in KeyPath cause of an unassigned Variable.
I could not dig into the Deep but this Workaround should show you the place !

function TCREditorForm.KeyPath: string;
begin
if assigned(FCRDesignUtilsClass) then
Result := '\SOFTWARE\Devart\' + FCRDesignUtilsClass.GetProjectName + '\Editors'
else
Result := '\SOFTWARE\Devart\DAC\Editors';
end;

Best Regards

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Little Bug in CREditor.pas v5.0.1

Post by AlexP » Wed 08 May 2013 12:31

Hello,

You most probably don't have reading/writing permissions for the HKEY_CURRENT_USER\Software\Devart registry branch, as all our visual forms save the option exactly to this branch. Try to give the writing permission for this branch to the user.

Post Reply