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.
Lane, > To: address@hidden > From: Lane Sander <address@hidden> > Subject: > Organization: NIST > Keywords: 200008031732.e73HWQT12222 The above message contained the following: > I would like to call the netCDF routines from Visual Basic via the > netCDF.dll to use with existing Visual Basic code. In theory, this should > be possible, but my efforts have been frustrated by a lack of knowledge > about the appropriate function declarations and calling conventions. > > I have tried the recommendations for converting C declarations to visual > basic in the Visual Studio documentation, but without success. > > I have searched your archives, and queries like mine have come up > periodically, but no one seems to have reported an example of usage. > > Do you know of anyone that has successfully done this? Can you provide any > guidance? Sorry, but I don't know of anyone who's done this and (not being a Visual Basic user) I can't give any guidance. You might try posting to the netCDF mailing-list. Regards, Steve Emmerson <http://www.unidata.ucar.edu>