does not compile
aaannndddyyy opened this issue · comments
aaannndddyyy commented
Describe the bug
i opened the code in CodeBlocks and hit compile and got an error
C:\Users\Andy\Downloads\Keylogger-master\Keylogger-master\windows\klog_main.cpp|56|error: cannot convert 'LPCWSTR' {aka 'const wchar_t*'} to 'LPCSTR' {aka 'const char*'}|
Expected behavior
compiling
Desktop (please complete the following information):
- OS: Win10
Giacomo Lawrance commented
Try defining Unicode at the header:
#define UNICODE 1
lenerdv2005 commented
which header? (i have the same problem)
Giacomo Lawrance commented
Right at the top