Nigel,
As Ed points out you need the proper permissions set, in general you should use the Ex versions of the registry API calls to work in both Win95 and NT, the Ex versions don't work in Win3 though if you have to support that platform still you'll need to bracket your code.
>Does anybody know of any difference between 95 and NT registry calling? I have written a number of programs to read from and write to the Windows 95 registry and all works ok! When I tried these programs on my NT PC, nothing happened - nothing returned from registry and nothing written to registry. I made the entries manually and tried reading them but nothing was returned??