Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Fabrizio Carimati <wireguard@clodo.it>
To: wireguard@lists.zx2c4.com
Subject: embeddable-dll-service - c++ - tunnel_proc_t
Date: Tue, 27 Apr 2021 18:36:16 +0200
Message-ID: <7ec76c38-be24-2ad1-04dd-0883d46ec39d@clodo.it> (raw)

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

             reply	other threads:[~2021-04-28  0:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27 16:36 Fabrizio Carimati [this message]
2021-04-30 13:48 ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7ec76c38-be24-2ad1-04dd-0883d46ec39d@clodo.it \
    --to=wireguard@clodo.it \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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