Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SniffNet Install On Windows 7 SP1 #293

Open
kenrmayfield opened this issue Jul 3, 2023 · 25 comments
Open

SniffNet Install On Windows 7 SP1 #293

kenrmayfield opened this issue Jul 3, 2023 · 25 comments
Labels
bug Something isn't working missing dependency Problem related to an external required dependency Windows Something related to Windows operating system
Milestone

Comments

@kenrmayfield
Copy link

kenrmayfield commented Jul 3, 2023

What's the problem?

First of All.........Excellent Work Developing SniffNet.

I Encountered a DLL Error after Installing SniffNet 1.2.1 64Bit on Windows 7 SP1 64Bit.

The Error: Entry Point Not Found and it is Referencing the DLL API-MS-WIN-CRT-STRING-L1-1-0.DLL
Yes......the DLL is in the System32 Directory. I did have to Download the DLL from DLL-FILES.COM.

It seems that Windows 7 does not come with D3DCOMPILER_47.DLL or API-MS-WIN-CRT-STRING-L1-1-0.DLL
I had to Download both 64Bit Files from DLL-FILES.COM when SniffNet Complained they were not Installed.

Is Windows 7 not Compatible with SniffNet?

Thanks,
Kenneth

How did you install the app?

downloaded one of the provided packages

Operating System

Windows

Additional context

No response

@GyulyVGC
Copy link
Owner

GyulyVGC commented Jul 3, 2023

Windows 7 is compatible with Sniffnet... does it give you the same error after installing the DLL?
Also, did you install Npcap? It shouldn't be related to your error, but it's a required dependency on Windows.

@GyulyVGC GyulyVGC added bug Something isn't working missing dependency Problem related to an external required dependency labels Jul 3, 2023
@kenrmayfield
Copy link
Author

kenrmayfield commented Jul 3, 2023 via email

@GyulyVGC
Copy link
Owner

GyulyVGC commented Jul 4, 2023

I'm sorry but I was not able to reproduce this error in any of the Windows systems I tried.
I don't know you what to suggest if not to search online if other people incurred in the same error before.

@kenrmayfield
Copy link
Author

kenrmayfield commented Jul 4, 2023 via email

@GyulyVGC
Copy link
Owner

GyulyVGC commented Jul 4, 2023

Can you tell me what Versions of NPCAP and Sniffnet you used for your Testing? What Versions of Windows did you Test?

I personally tested it on Windows 8/10/11.

But I know people that run it successfully on Windows 7 (for example: #108).

The latest NPCAP & Sniffnet version should be fine.

As mentioned in the issue I linked, I build the binary and the installer in the latest Windows version so it may cause some problems, even though usually don't.
If you want to be more sure you can clone the repo and build from source (requires a Rust installation).
If you choose to follow this path and are not familiar with Rust, just let me know and I can help you.

@kenrmayfield
Copy link
Author

kenrmayfield commented Jul 5, 2023 via email

@GyulyVGC
Copy link
Owner

GyulyVGC commented Jul 5, 2023

Unluckily I'm unable to build on Windows 7 now...
As I said you could build yourself with cargo (installing Rust and the required build tools)
I'm sorry this problem occurred but I don't know what to suggest if you already installed the corresponding DLL

There you can also find the corresponding scoop package, where the guy of the other issue successfully installed the app: https://scoop.sh/#/apps?q=Sniffnet

@GyulyVGC GyulyVGC added the Windows Something related to Windows operating system label Jul 22, 2023
@kenrmayfield
Copy link
Author

@GyulyVGC,

Do you have Time to Build for Windows 7?

@GyulyVGC
Copy link
Owner

GyulyVGC commented Sep 2, 2023

I'd have the time, but not a Windows 7 installation.
Moreover, I doubt it would solve this particular problem.

@bt4ibwem8
Copy link

The newest version failed to start on win7 (version 1.3.0 works fine):

image

@GyulyVGC
Copy link
Owner

The newest version failed to start on win7 (version 1.3.0 works fine):

image

Hi @bt4ibwem8 can you try to launch the Sniffnet executable from terminal and post here what you get, thanks

@bt4ibwem8
Copy link

i get the same error

@GyulyVGC
Copy link
Owner

Can you post the screenshot please?

@bt4ibwem8
Copy link

it is the same window which i posted... directly in cmd i get nothing

@GyulyVGC
Copy link
Owner

I'd be glad to help but I can't without a backtrace of the problem.

@bt4ibwem8
Copy link

Sniffnet can be run also in terminal with some commands? Because on version 1.3.0 it just run normal window of Sniffnet (when i type "sniffnet" in cmd).

@GyulyVGC
Copy link
Owner

GyulyVGC commented Jul 25, 2024

Sniffnet can be run also in terminal with some commands? Because on version 1.3.0 it just run normal window of Sniffnet (when i type "sniffnet" in cmd).

Oh, you are right.
I now remember that on macOS and Linux, the terminal launching Sniffnet keeps running, but on Windows I close it because otherwise even when running the app by clicking on its icon, a terminal was kept open.

But in this way now we're not able to see terminal messages... mmh I will think to a workaround and let you know.

@GyulyVGC
Copy link
Owner

GyulyVGC commented Jul 29, 2024

Searching online for the error code 0xc0000005 it appears that it usually means that some drivers aren't up to date or that your antivirus may be blocking something.
Some resources suggest to run the System File Check utility to find out if there's any file system corruption:

  • Press the Windows key and X at the same time.
  • Choose Command Prompt (Admin) from the context menu.
  • In the command prompt, type sfc /scannow and hit Enter.
  • Exit command prompt.
  • Restart the PC and see if this helps you.

@bt4ibwem8
Copy link

I am not using antivirus. sfc /scannow did not help me. When i enable VxKex, i get many dll errors. I copied DLLs to system32 but for this one it still complains:

image

@GyulyVGC
Copy link
Owner

@bt4ibwem8 I've tried building a new Sniffnet Installer including the compilation flag -C target-feature=+crt-static, which should solve some DLL issues.
Can you try it and let me know if the problem is solved? Thanks in advance.

64-bit Installer: Sniffnet_Windows_64-bit.msi.zip
32-bit Installer: Sniffnet_Windows_32-bit.msi.zip

@bt4ibwem8
Copy link

i still get the same error

@GyulyVGC
Copy link
Owner

GyulyVGC commented Aug 2, 2024

I will try to set up a Windows 7 installation and hope I can reproduce your issue.
Anyway, be careful that the current Sniffnet Installer doesn't remove previous installed versions.
By default, the latest one is launched, but the one I provided you in the message above has the same tag as the latest release, so be sure to delete all the previous versions before trying with that.

@GyulyVGC GyulyVGC added this to the v1.3.2 milestone Aug 2, 2024
@cfy3133
Copy link

cfy3133 commented Aug 21, 2024

I also encountered the same problem.
image

@GyulyVGC
Copy link
Owner

I also encountered the same problem.
image

Hi @cfy3133, this is not the same issue.
Check #371 to see how to solve your problem... it was already solved multiple times in the past.

@andyzdev
Copy link

I hope you fix this bug one day. I have the same problem on my Win7.

error code 0xc0000005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working missing dependency Problem related to an external required dependency Windows Something related to Windows operating system
Projects
None yet
Development

No branches or pull requests

5 participants