Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I used your winaes class for the crypto api and it works great on my machine and a windows server 2003. But for some reason on the clients machine, it fails to acquire a context. Its reporting file not found.

Yet the Microsoft RSA and AES crypto provider is there in the registry, and I see its path.

It's running on a 32bit machine and the path is just the "dll" name rsaenh.dll...on my server 2003 vm it works (yes we have to use this old server)...

anyway, any insights as to why windows would report the file not found?

We've change the path to directly point to the .dll still no dice...

I realize its been a while but maybe you're more familiar with the cryptoapi and could shed some light.

Thanks,

Bitslayer
Posted
Comments
[no name] 15-May-14 19:26pm    
You need to ask that author of that class. They would know more about their code than we would. http://www.codeproject.com/Articles/34508/WinAES-A-C-AES-Class
Code-o-mat 16-May-14 8:04am    
You sure your process' bitness and the DLL's bitness is the same? I believe e.g. if you try to load a 64 bit dll into a 32 bit process you will get "file not found" (i had to find this out the hard way myself). I might be remembering wrong though...
KarstenK 16-May-14 8:33am    
some combination wont work on some windows versions. It is a bit tricky.

Show the code plz ;-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900