> 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. -- Jason Teagle [EMAIL PROTECTED] _______________________________________________ msvc mailing list msvc@beginthread.com See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.