Re: advpack [1/3]: Factor out loading the advpack API [RESEND]
24 Feb
2006
24 Feb
'06
9:43 a.m.
"James Hawkins" <truiken(a)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? -- Alexandre Julliard julliard(a)winehq.org
7234
Age (days ago)
7234
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard