I've built a .NET console application which worked fine for several years. Since November 23, it takes a huge amount of time to start (15 seconds) when run in production (it works fine when run from Visual Studio).
I've tried to trace back what is going on with Process Monitor (ProcMon) and I've found this pattern:
App starts normally...
We currently use self-signed server certificates in our Windows-to-WCF application. The certificates are created with the following commands in a batch file:
makecert -sv CERTNAME.pvk -n "CN=SUBJECTNAME" CERTNAME.cer -sky exchange
cert2spc CERTNAME.cer CERTNAME.spc
pvk2pfx -pvk CERTNAME.pvk -spc CERTNAME.spc -pfx CERTNAME.pfx
I have b...
Original Question
While trying to compile the example code from 'Example C Program: Using CryptProtectData' I ran into a roadblock; The linker cannot find CryptUnprotectData.
Here is the console output:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\test\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\test\Makefile...