cryptoapi

    3热度

    2回答

    我在XP和Vista之间对“CryptUnprotectData”(从Crypt32.dll公开)使用相同的调用。在XP中正常工作。我得到以下异常,当我在Vista中运行: "Decryption failed. Key not valid for use in specified state." 正如预期的那样,crypt32.dll的版本XP和Vista(W/XP实际上有更近,可能是由于S