Jim Langston wrote:
> This type of error, you get an access violatoin, but you do something
> totally unrelated and it goes away, means you have a buffer overflow
> somewhere. Adding that new variable shuffled the variables around a bit,
> and it just means you're overwriting a variable that isn't immediately
> causing an access violation, but your problem is still there.
>
> Show a complete compilable program that causes the problem. I'll bet that
> you won't even send it to this newsgroup, however, as the act of doing this
> will show you where the problem is. If not, send the code.
Hi Jim,
The program I am trying to run is here:
http://www.unidata.ucar.edu/software...temp_4D_wr.cpp
I am using Borland C++ Builder 6 Personal, with the Windows DLL version
of the netCDF 3.6.1 library. In order to compile the program, you will
have to install the netCDF library somehow.
I am assuming that my problem lies somewhere with the C++ interface to
the library, and not the library itself, because I can use the C
function calls without any access violations.
If you would like me to send you a copy of the C++ interface of the
library, please let me know.
Regards,
Markus.