Greetings to all,

I program C on a windows platform (windows XP). I would like to incoporate encryption functions in some of my programs however,
whenever I call CryptAcquireContext(), I get the above error i.e
(80090016) as below:

cut here--------------------------------
/* Other initialization code...... */
HCRYPTPROV hProv = 0;

if(!CryptAcquireContext(&hProv, NULL, NULL, PROV_RSA_FULL, 0)) {
printf("Error %x during CryptAcquireContext!\n", GetLastError());
return 0;
}

/* Program continues....... */
---------------------------------
The same thing happens when I download sample programs from the msdn site.
The output of the program is always:

"Error 80090016 during CryptAcquireContext!"

Anyone have an idea about how to overcome this?
Gerald.