Development discussion of WireGuard
 help / color / mirror / Atom feed
* embeddable-dll-service - c++ - tunnel_proc_t
@ 2021-04-27 16:36 Fabrizio Carimati
  2021-04-30 13:48 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrizio Carimati @ 2021-04-27 16:36 UTC (permalink / raw)
  To: wireguard

I'm trying to embed tunnel.dll in a C++ Windows project,

LoadLibrary and GetProcAddress ok, but when i call the proc,
simply return 0 and i don't understand why.

The docs here:
https://git.zx2c4.com/wireguard-windows/about/embeddable-dll-service/README.md

what is the exact c++ definition of tunnel_proc_t ?

why the docs talk about a go_string (ascii?) when the C# example use a
LPWStr?

Thanks for any feedback.
Fabrizio Carimati

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

end of thread, other threads:[~2021-04-30 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 16:36 embeddable-dll-service - c++ - tunnel_proc_t Fabrizio Carimati
2021-04-30 13:48 ` Jason A. Donenfeld

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