At 10/21/2005 10:12 AM, Truckle, Andrew J wrote:

 >> > 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...

Why not just write the registry directly?

Phil Daley          < AutoDesk >
http://www.conknet.com/~p_daley




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

Reply via email to