This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Sunhee: Yes, its compiled with Microsoft VC++ 5.0. It might be helpful to look at the make files in ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.5.win32make .ZIP especially fortran\msoft.mak, which creates a test fortran program called ftest.exe which uses the netcdf dll. Also, from fortran you should be calling NCOPN, not ncopen(). Im not sure what "nc_open_" is. Let me know how it goes, John Caron address@hidden > -----Original Message----- > From: Unidata Support [mailto:address@hidden] > Sent: Wednesday, January 12, 2000 8:35 AM > To: address@hidden > Subject: 20000111: netcdf-3_5_win32bin > > > > ------- Forwarded Message > > >From: "Lee, Sunhee" <address@hidden> > >Subject: netcdf-3_5_win32bin > >Organization: CSIRO > >Keywords: 200001110413.VAA15352 netCDF NT VC++ > > Hi > > I got netcdf-3_5_win32bin.zip file to install on my Window NT PC. > I hope to use NetCDF with Lahey Fortran 95 Compiler which has > dll interface > with MS Visual C++. > I have netcdf.dll and netcdf.lib into my testing > directory with testing fortran programs (as well as in bin and lib > directory), > but it fails to link. > In fortan program I have 'dll_import netcdf' and use nc_open_ etc. > I like to confirm if the pre-complied netcdf.dll and netcdf.lib are > compiled with MS VC++ . > > Many thanks > > > ------- End of Forwarded Message > >