Hi
I am kind of new to F#, but I did some Scheme in college so I know a bit about what functional languages are about. I am working for one of the MS Office teams and I want to do some work with F# specifically because the interpreter would make some of my job a lot easier.
I have some F# code that calls some of my teams managed libraries, and I am finding that the compiled code works just fine but that the interpreted code chokes on a registry key open. The Method that is getting called is Microsoft.Win32.Registry.LocalMachine.OpenSubKey(string), and I pass it a path to @"SOFTWARE\Microsoft\Office\..." (can't really show the rest of the path). The key I want to get doesn't work in the interpreter, but the key one level above it does, and the sub keys of that are only 2 of the other 5 keys.
Are there known to be any issues with opening HKLM registry keys from fsi? This stuff all works when compiled (that OpenSubKey doesn't return a null, and as a result doesn't cause some other exception to get thrown).
-Thanks
PL
http://www.puyan.org