Hi Alain,<br>
<br>
If you already have the .NET 1.1 framework installed on your computer
then you can download the <a href="http://Squeak.NET">Squeak.NET</a> bridge (available on SqueakMap)
and at such time you know have access to over 3800 base class items
exposed in the .NET framework by Microsoft. Of course, there are
registry classes in the Microsoft.Win32 namespace. Here's some sample
code:<br>
<br>
<div style="margin-left: 40px; font-family: courier new,monospace;">localMachine := DotNet Registry LocalMachine.<br>
software := localMachine openSubKey: 'Software'.<br>
software subKeyCount<span style="background-color: rgb(51, 255, 51);"> -&gt; 75</span><br>
</div>
<br>
Regards,<br>
<br>
John<br><br><div><span class="gmail_quote">On 5/31/05, <b class="gmail_sendername">alr</b> &lt;<a href="mailto:alr.dev@free.fr">alr.dev@free.fr</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would like to write a small utility program for my job and i need to read<br>the windows registry.<br>I saw that Ned started a small changeset (Win32Registry-nk.cs attached) in<br>2002 but there was still a problem with it (could not coerce arguments
<br>exception). I do not know ffi enough and do not see exactly what the problem<br>is.<br><br>Did someone read the windows registry with squeak ? and How ?<br><br>Your help would be very appreciated<br>thanks<br><br>Alain
<br><br></blockquote></div>-- <br>It's easy to have a complicated idea. It's very very hard to have a simple idea. -- Carver Mead