Hello,

 

I am pretty new to HDF5. I need to use the library for a current project. I
am using Visual Studio 2005 and HDF in version 1.6.4. To get in touch with
HDF5 I created a simple MFC project and added these few lines to my code:

 

     string strResFile = "d:\\temp\\test.hdf";

 

     hid_t h5File;

     h5File = H5Fcreate( strResFile.c_str(), H5F_ACC_TRUNC, H5P_DEFAULT,
H5P_DEFAULT );

 

     H5Fclose( h5File );

 

After closing the application in debug mode the output shows the following:

 

Detected memory leaks!

Dumping objects ->

{1360} normal block at 0x0101A3A8, 16 bytes long.

 Data: <@       `       > 40 07 00 00 D8 C8 03 01 60 D0 03 01 00 00 00 00 

{1358} normal block at 0x0103BB08, 16 bytes long.

 Data: <    `           > 84 00 00 00 60 AB 03 01 00 00 00 00 00 00 00 00 

{1357} normal block at 0x0103B3C0, 16 bytes long.

 Data: <                > 20 02 00 00 B0 A8 03 01 00 00 00 00 00 00 00 00 

{1356} normal block at 0x0103AFE0, 16 bytes long.

.

.

.

many many memory leaks later

.

.

.

{413} normal block at 0x00FFBF48, 32 bytes long.

 Data: <            @   > 01 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 

Object dump complete.

 

I am pretty sure that I didn't do anything wrong with the coding itself. So
does anyone have an answer or solution on that? Any suggestion is
appreciated. Thank you!

 

Greetings from Germany,

Tom Kollmann

 

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to