[Q] on Windows Registry

John Pierce john.raymond.pierce at gmail.com
Tue May 31 14:44:07 UTC 2005

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.

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.



On 5/31/05, alr <alr.dev at free.fr> wrote:
> Hi Pierce 
> thank you for your answer
>  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. 
> I really would like to do it with FFI.
>  but as I said, I really appreciate that you answered
> Regards
>  Alain
> "John Pierce" <john.raymond.pierce at gmail.com> a écrit dans le message de 
> news: 7390528050531044151aad62b at mail.gmail.com...
> Hi Alain,
> If you already have the .NET 1.1 framework installed on your computer then 
> you can download the Squeak.NET <http://Squeak.NET> 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:
> localMachine := DotNet Registry LocalMachine.
> software := localMachine openSubKey: 'Software'.
> software subKeyCount -> 75
> Regards,
> John
> On 5/31/05, alr <alr.dev at free.fr> wrote: 
> > 
> > I would like to write a small utility program for my job and i need to 
> > read
> > the windows registry.
> > I saw that Ned started a small changeset (Win32Registry-nk.cs attached) 
> > in
> > 2002 but there was still a problem with it (could not coerce arguments 
> > exception). I do not know ffi enough and do not see exactly what the 
> > problem
> > is.
> > 
> > Did someone read the windows registry with squeak ? and How ?
> > 
> > Your help would be very appreciated
> > thanks
> > 
> > Alain 
> > 
> > -- 
> It's easy to have a complicated idea. It's very very hard to have a simple 
> idea. -- Carver Mead 
> ------------------------------

It's easy to have a complicated idea. It's very very hard to have a simple 
idea. -- Carver Mead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050531/261998a5/attachment.htm

More information about the Squeak-dev mailing list