Here is a copy of Netcdf 3.3 release built as a Win32 DLL.
The only change I had to make was in a section of netcdf.h -
the section dealing with EXTERNL was commented out and replaced
as seen below.

/*
 * The Interface
 */

/* Declaration modifiers for DLL support (MSC et al) */
//#ifndef _CRTIMP
//# if !defined(_DLL) || defined(_NTSDK)
//   /* modifier not needed */
//#  define _CRTIMP
//# else	/* !_DLL */
//#  ifdef __EXPORT_NETCDF /* defined when building the library */
//#   define _CRTIMP __declspec(dllexport)
//#  else
//#   define _CRTIMP __declspec(dllimport)
//#  endif /* __EXPORT_NETCDF */
//# endif	/* !_DLL */
//#endif	/* _CRTIMP */

//# define EXTERNL extern _CRTIMP

#  ifdef __EXPORT_NETCDF /* defined when building the library */
#   define EXTERNL __declspec(dllexport)
#  else
#   define EXTERNL __declspec(dllimport)
#  endif /* __EXPORT_NETCDF */

The code was compiled with MSVC++ 5.0

To recompile the code on your own system, select File / Open Workspace,
choose *.mak, double click on netcdf.mak, then build netcdf.dll.  The
resulting dll will be in the debug subdirectory.  Or you can build the release
version and find it in the release subdirectory.

Steve Simpson, Independent software engineer

home email: ssimpson@ziplink.net
work email: steve.simpson@waters.com
please send any large files to the work email address.  thanks.

steve.simpson@waters.com
