> > I can't use GECP.  Firstly, I realise I must do the check 
> BEFORE the 
> > closing of the handle.  But I tried reading two files, one of which 
> > causes regedit to show a error message and for both files, 
> the process 
> > exit code was 0. :(
> 
> How about testing if the keys in the import list actually 
> exist now? Admittedly if you're simply updating existing keys 
> then this is useless. But, maybe if one of those keys held a 
> date, and the import information updated the date, then 
> checking that key value would tell if it updated successfully.

Not really.  The is a way of restoring user settings and they will already
have current settings.  I will not know what to check.  It seems that
regedit does not return a value.  BUT I did read of testing the hAppInst
against < 33 on the internet once which is why I do that.  Maybe I should
play arounf with the value of hAppInst and see what it is for good/bad calls
to regedit...


This email and any attached files are confidential and copyright protected. If 
you are not the addressee, any dissemination of this communication is strictly 
prohibited. Unless otherwise expressly agreed in writing, nothing stated in 
this communication shall be legally binding.

_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to