
20 Dec
2007
20 Dec
'07
5:23 p.m.
-------- Forwarded Message -------- [snip]
You're quite right, that would be much neater. I've no experience with Windows programming though, so I'd welcome any input. Google suggests [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] is the key we want and I suppose I need System.Win32.Registry, hKEY_CURRENT_USER and regCreateKey?
What is the normal/best way of switching on OS?
You can ignore that one, I think it's OPTIONS cpp and #ifdef WIN32. But is it possible to do the same thing in the .cabal file, so windows users don't need `unix' and vice versa? Jim
Duncan