wireguard.lists.zx2c4.com archive mirror
 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

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).