Portable version?

Support for PocketPC and WinCE version

Moderators: white, Hacker, petermad, Stefan2

Post Reply
O_A
Junior Member
Junior Member
Posts: 2
Joined: 2009-04-08, 14:44 UTC

Portable version?

Post by *O_A »

I like TC very much but I really miss is a portable version which could be run from an SD card without requiring installation through ActiveSync and wouldn't write anything to the registry. Such a version wouldn't lose its settings on devices which reset the registry when they are reset.

Thank you for a great program.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately there is no support for ini files on Windows Mobile, so I had to use the registry, sorry.
Author of Total Commander
https://www.ghisler.com
O_A
Junior Member
Junior Member
Posts: 2
Joined: 2009-04-08, 14:44 UTC

Post by *O_A »

Thank you for a prompt reply.

I know that Microsoft recommends against the use of ini files and carefully removed some handy functions for manipulating them in Windows Mobile.

There are workarounds but, of course, it's all up to you to decide if it's worth the effort or not.
User avatar
gbusch
Junior Member
Junior Member
Posts: 31
Joined: 2009-03-02, 18:25 UTC
Location: Canada

Re: .ini files

Post by *gbusch »

I currently have two third-party apps using .ini files on my WM5 device: The portable e-mail client nPOPuk writes nothing to the registry, and doesn't even use an installer. It stores its .ini file wherever the user places the executable.

The utility gsgetfile.dll saves the last open path in gsGetFileName.ini right in the \Windows directory.

The text editor cke doesn't need the registry, either, but uses a different approach: The settings are written to cke.opt in the program directory. Some apps do the same thing using .dat or .cfg files.
woefdram
Junior Member
Junior Member
Posts: 82
Joined: 2004-05-16, 11:14 UTC

Post by *woefdram »

I'm wondering: why would you need "Windows .ini support"?
The program could just parse the ini file itself couldn't it? Or use a language feature like you can do in Python with Configparser and such... no Windows features involved.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I wanted to keep the program as small and simple as possible, so I tried to rely wherever possible on functions of the operating system:
1. The registry for settings
2. A standard ListView for file lists
3. CopyFile and CopyFileEx for copying
etc. etc.
Author of Total Commander
https://www.ghisler.com
siealex
Senior Member
Senior Member
Posts: 278
Joined: 2009-03-22, 16:36 UTC

Post by *siealex »

Pigeon Messenger (getbest.ru) also uses INIs. Registry is the most foolish and f**kish M$ inventions!
We are not so S.M.A.R.T. as we imagine...
jenelia
Junior Member
Junior Member
Posts: 3
Joined: 2009-05-23, 02:16 UTC

Post by *jenelia »

How to make a portable version of Post2Blog with all current settings.
______________________________________
WarL0ck
New Member
New Member
Posts: 1
Joined: 2009-12-24, 07:40 UTC

Post by *WarL0ck »

woefdram wrote:I'm wondering: why would you need "Windows .ini support"?
The program could just parse the ini file itself couldn't it? Or use a language feature like you can do in Python with Configparser and such... no Windows features involved.
I say why need inifile.
I use TC on PND where registry read-only.
All settings after reboot lost.
Me also need inifile for store settings.
siealex
Senior Member
Senior Member
Posts: 278
Joined: 2009-03-22, 16:36 UTC

Post by *siealex »

P. S. Pigeon! now uses not inis, but XML files. Bombus uses binary cfg files...
We are not so S.M.A.R.T. as we imagine...
Post Reply