what is the problem  for  the CryptUnprotectData in wincrypt.h?

Posted on 2009-12-16
Last Modified: 2013-12-08
i worked on the CPP code he error appear to  me
error C2065: 'CryptUnprotectData' : undeclared identifier

i include

#pragma comment(lib, "crypt32.lib")

 #include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>

#include <windows.h>
#include <Wincrypt.h>

and the linker Crypt32.lib

what is the problem
Question by:sa3q
    LVL 8

    Expert Comment

    by:deepu chandran
    LVL 1

    Author Comment

    i sow this link befor  and  try  it  but it  not run  

    because i use visual  c++ 6
    LVL 8

    Expert Comment

    by:deepu chandran
    What IDE you are using other than VS 6?
    LVL 1

    Author Comment

    i didn't use  other than  VS 6
    LVL 86

    Accepted Solution

    'CryptUnprotectData()' ( requires Win2k as the minimum OS - VC++6 was introduced two years earlier. If you want to use this API, you need to install an updated Platorm SDK, which you can get from
    LVL 1

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
    Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
    Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
    Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now