<!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>Well, I want to develop a very specific tool that 
will help our customers in case of installation problems by checking some keys 
in registry and some files, I don't want to add more pain by forcing them to 
install a runtime to run the tool that will help them in their installation 
problems ...</FONT></DIV>
<DIV><FONT face=Arial size=2>it must work on various kind of computers: W2000, 
W2003, WXP, W98 and terminal servers...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>As you said I don't want&nbsp; .NET , and I don't 
want VB either :-) </FONT></DIV>
<DIV><FONT face=Arial size=2>eventually, I will do this in Delphi 
:-(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"John Pierce" &lt;<A 
  href="mailto:john.raymond.pierce@gmail.com">john.raymond.pierce@gmail.com</A>&gt; 
  a écrit dans le message de news: <A 
  href="mailto:73905280505310744f9dc268@mail.gmail.com">73905280505310744f9dc268@mail.gmail.com</A>...</DIV>No 
  big deal, but I am surprised how many folks *do not* want the .NET framework 
  installed. Was there this kind of resistance years ago to installing the VB 
  Runtime on peoples machines? I mean, at the end of the day, it just some dlls 
  that do not modify the machine. They just take up space on the 
  box.<BR><BR>With all the press and folks developing in C# I thought .NET had 
  penetrated the market much more than folks seem to indicate. It is just 
  curious to me that this is a concern since I don't really care if Microsoft 
  .NET can be utilized or not on your customer computers, nor am I trying to 
  advocate .NET over FFI.<BR><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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <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>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>unfortunatly, this utility is supposed to&nbsp; 
    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>&nbsp;</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>&nbsp;<FONT face=Arial size=2>Alain</FONT></DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV>"John Pierce" &lt;<A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:john.raymond.pierce@gmail.com" 
      target=_blank>john.raymond.pierce@gmail.com</A>&gt; a écrit dans le 
      message de news: <A onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:7390528050531044151aad62b@mail.gmail.com" 
      target=_blank>7390528050531044151aad62b@mail.gmail.com</A>...</DIV>
      <DIV><SPAN class=e id=q_10432ac2009011af_1>Hi Alain,<BR><BR>If you already 
      have the .NET 1.1 framework installed on your computer then you can 
      download the <A onclick="return top.js.OpenExtLink(window,event,this)" 
      href="http://Squeak.NET" target=_blank>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 onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:alr.dev@free.fr" target=_blank>alr.dev@free.fr</A>&gt; 
      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 </SPAN></DIV>
      <P></P>
      <HR>

      <P></P><BR>
      <P></P></BLOCKQUOTE><BR><BR><BR><BR></BLOCKQUOTE></DIV><BR><BR><BR>-- <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>