GiacomoLaw / Keylogger

A simple keylogger for Windows, Linux and Mac
https://simple-keylogger.github.io/
MIT License
2.06k stars 617 forks source link

does not compile #108

Closed aaannndddyyy closed 3 years ago

aaannndddyyy commented 3 years ago

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):

GiacomoLaw commented 3 years ago

Try defining Unicode at the header:

#define UNICODE 1

lenerdv2005 commented 3 years ago

which header? (i have the same problem)

GiacomoLaw commented 3 years ago

Right at the top