Dear Ehsan

> This is the first time I see anyone checking for the return code of a 
> process in that way.  I doubt it would work.
> 
> Try padding the /s parameter to regedit to make it silent.  
> Then maybe it would return the status using the return code...

My code is already using the /s and that is another reason why it is
interesting that it is still showing messages to the user when it hits
errors.

I might not worry too much about it.  The only other thing I consider doing
is using the RegSaveKey and RegRestoreKey methods.  I did not realise the
were around.

Andrew


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