GiacomoLaw / Keylogger

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

Windows: two identical files for "visible" and "invisible" #16

Closed ehrlich-b closed 7 years ago

ehrlich-b commented 7 years ago

Use a preprocessor directive https://msdn.microsoft.com/en-us/library/2a1b21sf.aspx . Then you can build with -DVISIBLE or -DINVISIBLE. You could create a simple makefile to build both the visible and invisible versions every time you build.

GiacomoLaw commented 7 years ago

Nice thinking! I'll add this sometime in the near future.

GiacomoLaw commented 7 years ago

https://github.com/GiacomoLaw/Keylogger/commit/5a71fce65971cea74c456d9aa011d8e77e7ba354

Added.