quote:
Originally posted by saralk
but how are applications modified into portable apps like Portable Firefox
The simple answer is -- first, you settle on using the lowest common denominator techniques whenever possible, then you write a lot of conditionally compiled code, to cover the platforms you want to support.
Using configuration files instead of registry would be an example of lowest common denominator approach -- all platforms have a file system, while only Windows has registry.
Dealing with display would be an example where conditionally compiled platform-specific code is inevitable at some level -- because you'd have to deal with GDI on Windows, X11 on Unix systems, and something else on some hypothetical platform you may wish to support.