> > I have code that runs regedit to import a .reg file.  I though I 
> > should test .hProcess aginst < 33 to know there were errors.  But I 
> > did get an error message and the .hProcess was 0x00000994 
> so my code 
> > thinks it executed fine.
> > What can I do to change this?  I need to be sure that my code
> > realized there
> > is an error and that it did not import...
> 
> How do you know that there WAS an problem with it? I assume 
> you meant "But I didn't get an error" above otherwise surely 
> if you got an error then that is what you can test for to see 
> if it failed? If I've misunderstood then you may simply need 
> to explain it a bit more clearly.

The regimport displayed an error message to me.  But my code thinks the
import worked.  I try to tell the user it was imported if there was no
errors (because regedit won't tell them) which is why I test hAppInst...


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