williamfhe / godivert

Bindings for WinDivert in Go
GNU Lesser General Public License v3.0
57 stars 30 forks source link

例子跑不通, 提示 The parameter is incorrect #4

Open zeropool opened 5 years ago

zeropool commented 5 years ago
winDivert, err := godivert.NewWinDivertHandle("true")
williamfhe commented 5 years ago

Sorry for the late answer, what error message do you have ?

Do you have the windivert DLL and .sys in System32 or have you specified those files locations with godivert.LoadDLL ?

zeropool commented 5 years ago

https://reqrypt.org/windivert-doc.html#divert_open this function arguments changes, you interface need update