[Mono-osx] Import windows registry file (.reg)
andy at britishideas.com
Tue Nov 29 10:40:29 EST 2011
I suggest you create an abstract interface to your "data store". In
Windows it happens to be implemented using the registry. In OSX it is
implemented using XML or SQLite or something like that. So hide the
storage implementation behind your own API in a module that you can swap
for different platforms.
On 11/29/2011 3:36 PM, Montlebalm wrote:
> You're right about only Windows having a Registry, but I thought Mono had an
> implementation that simulated one. The problem is I keep getting "No access
> to the given key" when I attempt to use Mono's Registry API.
> I'm trying to adapt a large existing project into Mono, so ditching the
> registry isn't really an option. It's being used heavily by lots of people
> at this point.
> View this message in context: http://mono.1490590.n4.nabble.com/Import-windows-registry-file-reg-tp4117298p4119575.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
PGP Key ID: 0xDC1B5864
More information about the Mono-osx