March 4th, 2009, 03:53 AM
using functions from schannel.dll
I am working on a project which requires me to clear the SsleCache. I have found a way to do this through schannel.dll.
A sample of my code:
hSchannel = LoadLibrary("TEXT("schannel.dll"));
emptyCache = (EmptyCacheFuncPtr) GetProcAddress(hChannel, "SslEmptyCacheA");
if(emptyCache != NULL)
The code compiles fine, but then when I run it it appears to run fine untill the end of the method where it moves into code which I can't see and crashes with a memory access error: 0xC0000005: Access violation writing location 0xfffffffd.
If anyone needs more info let me know
So... can anyone help me with why this code bugs out?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!