If you are using the TppDesigner component check your setting for TppDesigner.IniStorageName. For RB 11, the new default is ($LocalAppData)\RBuilder\RBuilder.ini. For your existing projects, updte them to use ($LocalAppData)\RBuilder\RBuilder.ini
For your existing projects RB 11.04 should be working the same as pior version, thougb there was an issue with 11.03 and prior resolving to windows\system32.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
No. (We are not making that mod here. If I were you, I would not modify the RB source. Moving forward with RB 11.05, etc that is just going to require more work).
The TppDesigner class constructor includes code to support defaulting new instances of TppDesigner to the new default location.
In TppDesigner.Create you will find the following...
For existing projects I would open the relevant form and modify the IniStorageName and then resave.
I am wondering if you are either using RB 11.03 or have a corrupt installation. You might search your hard drive for for ppIniStorage.*, perhaps you have an old version lying around in Delphi\Lib or some other weird location).
Open your ppIniStorage.pas and find TppIniFile.CreateCustomIniFile. Does it have this code?
if Pos(TppFilePathVariables.WinSys, aStorageName) > 0 then // backwards compatibility, resolve ($WinSys) to Windows directory aStorageName := StringReplace(aStorageName, TppFilePathVariables.WinSys, TppFileUtils.GetWindowsFilePath, [rfIgnoreCase])
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
If you are using the TppDesigner component check your setting for
TppDesigner.IniStorageName. For RB 11, the new default is
($LocalAppData)\RBuilder\RBuilder.ini. For your existing projects, updte
them to use ($LocalAppData)\RBuilder\RBuilder.ini
For your existing projects RB 11.04 should be working the same as pior
version, thougb there was an issue with 11.03 and prior resolving to
windows\system32.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
procedure TppDesigner.SetIniStorageName(aStorageName: String);
begin
//FIniStorageName := aStorageName;
FIniStorageName := '($LocalAppData)\RBuilder\RBuilder.ini';
ConfigureIniStorage;
end;
No. (We are not making that mod here. If I were you, I would not modify the
RB source. Moving forward with RB 11.05, etc that is just going to require
more work).
The TppDesigner class constructor includes code to support defaulting new
instances of TppDesigner to the new default location.
In TppDesigner.Create you will find the following...
FIniStorageName := TppIniStoragePlugIn.GetStorageClass.DefaultStorageName;
For existing projects I would open the relevant form and modify the
IniStorageName and then resave.
I am wondering if you are either using RB 11.03 or have a corrupt
installation. You might search your hard drive for for ppIniStorage.*,
perhaps you have an old version lying around in Delphi\Lib or some other
weird location).
Open your ppIniStorage.pas and find TppIniFile.CreateCustomIniFile. Does it
have this code?
if Pos(TppFilePathVariables.WinSys, aStorageName) > 0 then
// backwards compatibility, resolve ($WinSys) to Windows directory
aStorageName := StringReplace(aStorageName, TppFilePathVariables.WinSys,
TppFileUtils.GetWindowsFilePath, [rfIgnoreCase])
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com