Andrew Talbot wrote:
James Hawkins wrote:

Please don't check env for NULL; RegCloseKey will just fail harmlessly
if env is NULL.  We spent a lot of time removing such checks.


OK, I shall re-post my first effort as "Try 3".

But then why don't you just set env to NULL and leave the rest as is. The only thing that will change is the lasterror probably if you don't check for NULL.

Cheers,

Paul.


Reply via email to