Hi,
please somebody enlighten me! How does this test work once psapi_test.exe is linked with -lpsapi? How can a program start at all without one of its hard dependencies?
START_TEST(module) { dll = LoadLibrary("psapi.dll"); if (!dll) { trace("LoadLibraryA(psapi.dll) failed: skipping tests with target module\n"); return; }
The above seems to be a common idiom which I don't understand as opposed to using GetProcAddress and invoking functions through pointers. What am I missing here?