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

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git