Skip to content

Instantly share code, notes, and snippets.

@Trass3r
Created January 18, 2017 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Trass3r/72b48be5196221fda558c1e3a01b86c6 to your computer and use it in GitHub Desktop.
Save Trass3r/72b48be5196221fda558c1e3a01b86c6 to your computer and use it in GitHub Desktop.
quick and dirty VLD enable
#pragma comment(lib, "D:\\Visual Leak Detector\\lib\\Win64\\vld.lib")
#include <D:\Visual Leak Detector\include\vld.h>
static int dummy = (VLDSetReportOptions(VLD_OPT_REPORT_TO_FILE | VLD_OPT_UNICODE_REPORT, nullptr), 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment