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 [thread overview]
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
next 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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).