"Dimitrie O. Paun" dpaun@rogers.com writes:
I'd just get rid of all *Profile* calls from Wine, and just deal with the registry. If we need to support it, we can just merge system.ini into the registry at startup as transient values (can we do that?), and special case system.ini in the Profile functions to generate one from the registry. This way at least the ugliness is in one place, we don't have any duplication problems, etc.
What you really want is implement the INIFileMapping mechanism in the profile functions. Then things will go in the registry automatically, and you don't need to modify the code.