"James Hawkins" truiken@gmail.com writes:
@@ -256,21 +268,9 @@ static void translateinfstring_test()
START_TEST(advpack) {
- HMODULE hdll;
- hdll = LoadLibraryA("advpack.dll");
- if (!hdll)
return;
- pGetVersionFromFile = (void*)GetProcAddress(hdll, "GetVersionFromFile");
- pDelNode = (void*)GetProcAddress(hdll, "DelNode");
- pTranslateInfString = (void*)GetProcAddress(hdll, "TranslateInfString");
- if (!pGetVersionFromFile || !pDelNode || !pTranslateInfString)
return;
- init_function_pointers();
Why are you removing the pointer checks?