GiacomoLaw / Keylogger

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

Dll error #159

Open ghost opened 2 months ago

ghost commented 2 months ago

I installed it on my test PC and it works perfectly, but when I try to install it on the target PC it gives me dll errors -> urctbased.dll ; VCRUNTIME140D.dll ; VCRUNTIME140_1D.dll ; MSVCP140D.dll "

I have already installed the Visual Studio runtime several times, including several times and all versions, but the error persists, it only worked once, but when I restarted the PC it stopped working, tryed execute in admin without sucess too

already tested in few folders, no sucess

sry my english not my language, thanks

any solution?

ghost commented 2 months ago

anyone?

mydarkthawts commented 2 weeks ago

I installed it on my test PC and it works perfectly, but when I try to install it on the target PC it gives me dll errors -> urctbased.dll ; VCRUNTIME140D.dll ; VCRUNTIME140_1D.dll ; MSVCP140D.dll "

I have already installed the Visual Studio runtime several times, including several times and all versions, but the error persists, it only worked once, but when I restarted the PC it stopped working, tryed execute in admin without sucess too

already tested in few folders, no sucess

sry my english not my language, thanks

any solution?

ghost, those are asking for the debug .dll files, which are not included in the runtime install setup. When compiling, you need to choose Release in the drop down, not Debug. See if that works.

mydarkthawts commented 2 weeks ago

I installed it on my test PC and it works perfectly, but when I try to install it on the target PC it gives me dll errors -> urctbased.dll ; VCRUNTIME140D.dll ; VCRUNTIME140_1D.dll ; MSVCP140D.dll "

I have already installed the Visual Studio runtime several times, including several times and all versions, but the error persists, it only worked once, but when I restarted the PC it stopped working, tryed execute in admin without sucess too

already tested in few folders, no sucess

sry my english not my language, thanks

any solution?

You can also statically link your libraries into the compiled executable. I've shared a video and instructions below.

https://github.com/user-attachments/assets/068da158-5249-4385-b7c7-6eee930f0a91

  1. Launch Visual Studio and open the solution or project you want to configure.
  2. In Solution Explorer, right-click on your project and select Properties.
  3. Under the Configuration Properties section, expand the C/C++ node.
    • Select Code Generation.
    • Find the option labeled Runtime Library.
    • Change the setting to Multi-threaded (/MT).
  4. This change will statically link the C runtime library instead of using the DLL version.
  5. After making the changes, rebuild your project by selecting Build > Rebuild Solution.