Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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
____________________________________________________________________________



 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690