Pelles C > Feature requests

Program Settings in the INI file ?

(1/2) > >>

eutic04:
Hello, MR. Pelle

why you do not store the program settings (Dir Include,Dir Lib, Dir PlugIn,Text Colors, etc)
in INI file (Es. in the Setting.ini in \BIN Dir ) to the place that in the Windows registry

in such way to render the portable program to store it in the pendrive

Excuse me for my poor English, sorry!

Ciao !
Eutic04

Pelle:
Maybe - I think the Registry is much more convenient to work with than INI files.

No exactly sure what you want to do, but another approach might be Export/Import Settings - like in other IDE's?

Pelle

eutic04:
ok... I meant to say

In my Windows Registry I have these keys:


--- Code: ---
Windows Registry Editor Version 5.00
...
[HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Directories]
"ProjectDir"="D:\\PellesC\\Projects\\My Work"
"LibraryDirs"="D:\\PellesC\\Lib;D:\\PellesC\\Lib\\Win"
"IncludeDirs"="D:\\PellesC\\Include;D:\\PellesC\\Include\\Win;D:\\PellesC\\Include\\Win\\gl"
"PathDirs"="D:\\PellesC\\Bin"
...
[HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Colors]
"Text_FG"=dword:00800000
"Text_BG"=dword:00f5f5f5
"Seltext_FG"=dword:00ffffff
...
[HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Application]
"AppWindow"="-4 -4 1028 742 1"
"ProjPaneWidth"=dword:000000c8
"ProjPaneLeft"=dword:00000001
...

--- End code ---


poide.exe loads from the Registry these informations before run ( is true ?)

I would want that the informations are not loaded from the registry but from the file es. Setting.ini

Why if i install Pelles IDE in pendrive i can to use it in any Windows

I hope to have been clear...

Ciao !
Eutic04

Pelle:
OK, I understand. As I said before: *maybe*. This will affect several places in the code, and INI files are not very "nice" to work with...

Pelle

Dudemeister:
I'm roughly 16 years late to this party. I have no problem with the application's settings being stored in the Windows registry.
But I have not yet found a way to back up, export, or import those settings from within the IDE. Does such a feature currently exist and I just haven't found it? Or, if it the does not exist, can it be implemented. I supposed I could write a little program to backup/restore Pelles C's app settings in the registry. But of course, such a program would run outside of Pelles IDE.

Navigation

[0] Message Index

[#] Next page

Go to full version