bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Policy for linking against Windows DLLs


From: Daniel Jour
Subject: Policy for linking against Windows DLLs
Date: Mon, 27 Jun 2016 14:09:45 +0200

Hi,

is there a policy for when to link directly against Windows DLLs (like
-lws2_32) and when to use GetModuleHandle (like getaddrinfo.c does)?

I'm preparing code I wrote for CLISP in order to contribute it back to
gnulib. In particular, that's code to implement getifaddrs and
freeifaddrs. Those can be implemented using WSAIoctl, which is in
ws2_32.dll.

Best,
Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]