Next: , Previous: Getting Prebuilt DLL, Up: Building and Installing NetCDF on Windows


3.2 Installing the DLL

Whether you get the pre-built DLL or build your own, you'll then have to install it somewhere so that your other programs can find it and use it.

There are standard places to put DLLs, the Windows\System folder (Windows 98/ME) or Windows\System32 folder (Windows2000/XP), or you can leave them wherever you want, and every development project that uses the dll will have to be told to search the netCDF directory when it's linking.

On the .NET platform, there is also the global assembly cache (see MSDN topic “Global Assembly Cache”).

Following Windows conventions, the netCDF files belong in the following places:

File(s) Description Location


netcdf.dll C and Fortran function in DLL Windows\System (98/ME) or Windows\System32 (2000/XP)


netcdf.lib Library file? Windows\System (98/ME) or Windows\System32 (2000/XP)


ncgen.exe, ncdump.exe NetCDF utilities Windows\System (98/ME) or Windows\System32 (2000/XP)


netcdf-3\src netCDF source code Program Files\Unidata