GiacomoLaw / Keylogger

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

Invisible/Visible #122

Closed Personary closed 2 years ago

Personary commented 2 years ago

Hey, I'm having a little bit of difficulty understanding what the difference between visible and invisible are. They both keep the logger window opened, and when I close it when it is set to invisible it seems to stop the program. Is this intentional, or am I just stupid? I thought the invisible setting was going to make the window disappear, but it does not seem to do that. Any help would be greatly appreciated! Thank you, this truly is a great program anyways.

GiacomoLaw commented 2 years ago

Invisible should mean the window doesn't come up, and that when you start it no window comes up. Sounds like a bug

GiacomoLaw commented 2 years ago

Merged into #95

mydarkthawts commented 9 months ago

I added the FreeConsole(); call after ShowWindow(FindWindowA("ConsoleWindowClass", NULL), 0); // invisible window which resolves this concern. I submitted a pull request with the change. Hopefully it is accepted as a solution.