[Mono-list] Registry help

Steve Lessard s_lessard at yahoo.com
Thu Oct 25 20:51:30 UTC 2012


This is the only file in my ~/.mono/registry directory.  
~/.mono/registry/CurrentUser/software/classes/code/shell/open/command/values.xml

Have you tried creating a trivial program to write to HKEY_CURRENT_USER? 
Does this trivial program work on other platforms?

> C_W <mailto:c.williams at pryormarking.com>
> October 25, 2012 2:22 AM
> Hi all,
>
> I am porting a Windows program to run on the Raspberry Pi, but 
> unfortunately
> it uses the registry a lot.
>
> I know Mono emulates the registry using a file structure in
> /etc/mono/registry, as well as .mono/registry in the user's home directory
> for user keys, and am trying to find what to replace 
> "HKEY_CURRENT_USER" etc
> with, as all I get is a crash report saying it doesn't start with a valid
> registry root.
>
> I have tried "CurrentUser", "~/.mono/registry/CurrentUser", and various
> other combos, as well as converting to lower case. I still get the invalid
> registry root error message.
>
> What do I need to replace HKEY_CURRENT_USER and HKEY_CLASSES_ROOT etc with
> to get it to pick up data from the registry folders?
>
> Thanks
>
> Chris
>
>
>
> --
> View this message in context: 
> http://mono.1490590.n4.nabble.com/Registry-help-tp4657109.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121025/2cfde1d7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121025/2cfde1d7/attachment.jpg>


More information about the Mono-list mailing list