Development discussion of WireGuard
 help / color / mirror / Atom feed
* Unable to load wintun library for Windows
@ 2021-09-03 23:07 Veerabhushan Hatte
  2021-09-05 13:22 ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Veerabhushan Hatte @ 2021-09-03 23:07 UTC (permalink / raw)
  To: wireguard

Hi All,

We are trying to use wintun DLL to create SSL tunnel. I copied
wintun.dll into c:\Windows\system32\ and tried the example provided to
load the library (LoadLibraryExW(wintun.dll,...)). I am unable to load
library and I am getting error 126 for LoadLibraryEXW.

How do I solve this issue?

Thanks,
Veera

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unable to load wintun library for Windows
  2021-09-03 23:07 Unable to load wintun library for Windows Veerabhushan Hatte
@ 2021-09-05 13:22 ` Jason A. Donenfeld
  2021-09-07 16:50   ` Veerabhushan Hatte
  0 siblings, 1 reply; 3+ messages in thread
From: Jason A. Donenfeld @ 2021-09-05 13:22 UTC (permalink / raw)
  To: Veerabhushan Hatte; +Cc: WireGuard mailing list

Copy it to "C:\Program Files\Something" and execute your exe from
there too. Never copy files into C:\windows\system32.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unable to load wintun library for Windows
  2021-09-05 13:22 ` Jason A. Donenfeld
@ 2021-09-07 16:50   ` Veerabhushan Hatte
  0 siblings, 0 replies; 3+ messages in thread
From: Veerabhushan Hatte @ 2021-09-07 16:50 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

Hi Jason,

Thanks for the help. I copied wintun.dll into same directory where exe
file is located and library loaded library successfully.

Thanks,
Veera

On Sun, Sep 5, 2021 at 6:22 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>
> Copy it to "C:\Program Files\Something" and execute your exe from
> there too. Never copy files into C:\windows\system32.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-07 16:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 23:07 Unable to load wintun library for Windows Veerabhushan Hatte
2021-09-05 13:22 ` Jason A. Donenfeld
2021-09-07 16:50   ` Veerabhushan Hatte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).