how to let visual studio not to find certain dll?
hi
i can compile my program, but i can not run it, because it will popup an error message saying the system couldn't find dkcert.dll.
I've removed a software which provides the dkcert.dll, because i want my program not to link to the dkcert.dll, but to ep2pk11.dll which i put in the same folder as my source code.
but it seems visual studio will always keep searching for the dkcert.dll instead. i've uninstall and reinstall visual studio a couple of times but the problem still arise.
any help is greatly appreciated. thanks.
p/s: dkcert.dll and ep2pk11.dll are dll provided by two different companies, but both utilize the cryptoki library.
[672 byte] By [
imin] at [2007-12-16]
Does your code reference dkcert.dll, for example doing a LoadLibrary or doing a "using" for dkcert.dll? Are there any reference in the code for "dkcert.dll"?
Also, do you still link against the dll, you can confirm that by looking at the build log.
Thanks,
Ayman Shoukry
VC++ Team.
Ayman Shoukry wrote: |
| Does your code reference dkcert.dll, for example doing a LoadLibrary or doing a "using" for dkcert.dll? Are there any reference in the code for "dkcert.dll"? Also, do you still link against the dll, you can confirm that by looking at the build log. Thanks, Ayman Shoukry VC++ Team. |
|
i didn't realize that in my project settings it has dkck201.lib in it. This is the file that points to dkcert.dll. I removed dkck201.lib from my project settings and replace it with another lib that i want to use and now it works perfectly well.
thanks a lot for the info