GiacomoLaw / Keylogger

A simple keylogger for Windows, Linux and Mac

Home Page:https://simple-keylogger.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not compile

aaannndddyyy opened this issue · comments

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

Try defining Unicode at the header:

#define UNICODE 1

which header? (i have the same problem)

Right at the top