<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Pierce </FONT></DIV>
<DIV><FONT face=Arial size=2>thank you for your answer</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>unfortunatly, this utility is supposed to be
runned on customer's computers and I cannot assume that they have the dot net
framework - in fact i'm sure that they do not and I don't want to install it
before running my tool. </FONT></DIV>
<DIV><FONT face=Arial size=2>I really would like to do it with FFI.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>but as I said, I really appreciate that you
answered</FONT></DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV> <FONT face=Arial size=2>Alain</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"John Pierce" <<A
href="mailto:john.raymond.pierce@gmail.com">john.raymond.pierce@gmail.com</A>>
a écrit dans le message de news: <A
href="mailto:7390528050531044151aad62b@mail.gmail.com">7390528050531044151aad62b@mail.gmail.com</A>...</DIV>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)"> ->
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>
<<A href="mailto:alr.dev@free.fr">alr.dev@free.fr</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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
<P>
<HR>
<P></P><BR></BLOCKQUOTE></BODY></HTML>