Paul Vriens Paul.Vriens@xs4all.nl writes:
If the first CreateKey fails, there is no need to continue with the testing (because the rest of the tests will fail as well). What's the best way to stop there?, something like this?:
START_TEST(shreg) { HKEY hkey = create_test_entries();
if (!hkey) return;
No, the best way is to fix the test to use a key that works on all platforms. The test case is useless otherwise.