From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Subject: Re: scratch that ntohs() 10 Jul 1998 09:11:20 -0700 Message-ID: References: <000401bdab61$0c3d6710$732ddd80 AT cpc45115 DOT us DOT dg DOT com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Peter Mularski Cc: GNU-Win32 On Thu, 9 Jul 1998, Peter Mularski wrote: > Looked through the searchable archives and discovered the solution was to > enclose the appropriate header in an 'extern "C"'. It's kind of a scary > solution, but it seems to link okay. Thanks. Scary? Don't worry -- this is the normal and the correct solution! All it means that is that the function has "C" linkage (as opposed to say C++ linkage which will typically mangle the names to encode various bits of info). Mumit - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".