일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- docker
- 보안양파
- Windows
- 한글가이드
- Kibana server is not ready yet
- pfsense
- macos
- GitLab
- Proxy
- ansible
- x-pack
- endpoint security
- 로그인불가
- ssh key 배포
- Kibana
- application security
- miniconda
- freebsd
- ELASTIC
- xe guest utilities
- PlayBook
- centos 8
- G-suite
- elastic stack
- hardening
- proxycfg
- bash
- Elasticsearch
- XCP-ng
- Today
- Total
선 밖에 선 자유인
윈도우에서 에러 처리 본문
윈도우 error.cpp
#include <windows.h> // 윈도우에서의 에러처리
//char s[256] = {0}; printf("%s\n", s ); // FormatMessage() 는 내부적으로 LocalAlloc() 이라는 함수로 할당합니다 |
Helper.h
#ifdef UNICODE #ifdef _UNICODE // 윈도우에서의 에러처리 |
error.cpp
// error.cpp if ( f == 0 ) } |