Zitat:
WinVerifyTrust := GetProcAddress(hLibWintrust, 'WinVerifyTrust');
Zitat:
ilRet := WinVerifyTrust(INVALID_HANDLE_VALUE, @WINTRUST_ACTION_GENERIC_VERIFY_V2, @WTrustData);
What if GetProcAddress was not able to retrieve the function pointer? You should check if the function is assigned before you call it.