NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Delphi and NetCDF

Dear Sandy,

You should use cdecl; as calling convention. See Delphi help for details.

e.g. i use :

function nc_open(const path : Pchar; mode : integer; var ncidp :
integer):integer; cdecl; external 'netcdf.dll';

which works fine with Version 3.4 of NetCDF but the version should not be
relevant.

Best regards Catrin
--
____________________________________________________________________________
Catrin Pieri
HYDROMOD Wissenschaftliche Beratung GbR  --  HYDROMOD Scientific Consulting
Büroadresse / Office address:         Bahnhofstr. 52,   D-22880 Wedel
Postanschrift / Postal Address:       Postfach 1229,   D-22871 Wedel
Tel.: 04103 / 9 12 23-0               Fax: 04103 / 9 12 23-23
mailto:pieri@xxxxxxxxxxx              http://www.hydromod.de
____________________________________________________________________________



  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: