#include #include int TestBacktrace(int argc, char* argv[]) { int rc = -1; size_t used, x; char **msg; void *stack = winpr_backtrace(20); if (!stack) { fprintf(stderr, "winpr_backtrace failed!\n"); return -1; } msg = winpr_backtrace_symbols(stack, &used); if (msg) { for (x=0; x