I'll try getting .NET on wine today and see what's going on there (if I can, never tried that before). The differences shouldn't matter that much, however. All in all, it's the same environment variables and registry keys, but with different paths.
20091030@0950 FST: Seems like there's no way in hell a regular user would get .NET to work on wine - it doesn't install out-of-the-box, so we're left with mono on Linux itself. Mono does seem to have special paths of its own from what I've seen with pathdiag.exe. Linux has no registry, so using the registry calls is pointless. That didn't, however, crash the app when I tried running it! So we might just get away with registry traversing, as long as we don't rely on it being available or accessible. I'll make a program to display all them special paths and see what is mapped to what on Linux. Could come in handy when going cross-platform.
But yeah, I also go Treeki's way when it comes to .NET, because I know that most Windows OSes today have at the very least .NET 2.0 installed on them and if I need to make an app for someone, I'll know they will most likely be able to run it out of the box. Mono already got to 2.0 as well, so in general, the app can also run on Linux unless I don't think cross-platform, but seeing that mono isn't available out-of-the-box, Linux support is something I'll most likely keep just for my own convenience, at least for now.
The concept of .NET is great in itself, and from what I've done with it vs. C++, it seems pretty fast, too. Java has a similar ring to it (and that's what .NET basically comes to try and replace), but it's plain slow, and I'm not sure if it's as flexible. I just hope that .NET will become cross-platform and widely supported rather than yet another Microsoft thing you have to have Windows in order to use. Either that, or have to read pages of license agreements and spend a week or two with a bunch of lawyers deciphering it just so MS doesn't go and threaten you and your projects when they consider them a threat to their business, or decide one day that you should be paying them per copy you release.
QUOTE (Squizzle)
How did Ghost Tiger do it? His client is suppose to be basically the same thing but on a different platform, right? If there is no registry to find the Furcadia path then what does Ghost Tiger use?
Ghost Tiger doesn't really need to look for Furcadia installation folder, or adapt to the path structure of DEP's Furcadia because he has his own client - he can invent his own paths and use his own ways to find the install path, more suitable to OSX rather than original Furcadia's structure. He supports just the OSX platform for which he doesn't need to think about being cross-platform or anything non-OSX and non-Mac. Hell, he can make his own file formats and have a translation module for Furc's files in order to support them. You can supply binary data in TXT files, afterall, when you upload a dream. Can be used for "extra features" :P