weidai11 / cryptopp

free C++ class library of cryptographic schemes
https://cryptopp.com
Other
4.67k stars 1.47k forks source link

need help,it always enables breakpoints when exiting the block #1203

Closed Yamakaze-sukida closed 1 year ago

Yamakaze-sukida commented 1 year ago

I was learning how to use this library,but something went wrong.My version is 5.6.5.I also tried 8.7.0 in a Qt project,but it throws "__crtisvalidheappointer(block)".

#include <dll.h> #include <cryptlib.h> #include <base64.h> int main(int argc, char* argv[]) { string result; StringSink ssi(result); Base64Encoder base64encoder(&ssi); return 0; }

It always break at "return 0;".I would really appreciate it if you can help me figure out what goes wrong.I am working on my graduation project,so hope you can give me a hand.