TechnikEmpire / DivertPInvoke

PInvoke wrapper for WinDivert
GNU Lesser General Public License v3.0
25 stars 12 forks source link

What version of WinDivert is this compatible with? #1

Closed alandao closed 7 years ago

alandao commented 7 years ago

There's two versions of WinDivert,1.1.8 or 1.2.0rc. Which one does this wrapper work with?

TechnikEmpire commented 7 years ago

@alandao 1.2 but AFAIK there is no breaking API difference between the two versions. The same major version number indicates this as well.

MrRandom92 commented 7 years ago

@TechnikEmpire Is this compatible with 32-bit? I receive "incorrect format (Exception from RESULT:0x8007000B.)" or is there something I need to change in the class?

TechnikEmpire commented 7 years ago

@TodM there's a dll and a sys file for both 32 and 64 bit versions of WinDivert. If you're compiling 32 bit to run on a 64 bit system then you need to link to the 32 bit dll but include the 64 bit sys file. You can't run a 32 bit driver in a 64 bit host.

MrRandom92 commented 7 years ago

@TechnikEmpire Thanks that did the trick. Off topic, but I got the latency queue working the only trouble now is the queues overflow even when I try to keep them at 800 packets max, and I am not sure where to find help with the issue as you and Basil know best on this subject is there anywhere I can show you the latest source?

TechnikEmpire commented 7 years ago

@TodM I'm not sure. Stackoverflow is a junk yard managed by junk programmers so I can't say. As far as myself I can't really help I have too much to do.