Josha, which unmanaged binaries are you using?

G. 

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of josha
Sent: Thursday, May 26, 2011 5:15 PM
To: [email protected]
Subject: [Hdf-forum] "PInvokeStackImbalance was detected" from HDFDotNet
1.8.7

I have been attempting to update to the latest HDF5DotNet wrappers (1.8.7)
and am getting the following warnings (when running in DEBUG mode from
VS2010):

PInvokeStackImbalance was detected
Message: A call to PInvoke function 'HDF5DotNet!<Module>::H5Fopen' has
unbalanced the stack. 
This is likely because the managed PInvoke signature does not match the
unmanaged target signature. 
Check that the calling convention and parameters of the PInvoke signature
match the target unmanaged signature.

I am using the pre-compiled binaries (HDF5DotNet assembly for .NET Framework
4.0 32-bit), but got the same result when I compiled from source.  

Strangely, when executing my application that calls the HDF5DotNet wrappers
in non-DEBUG mode, I see no problems.  I  did notice that between 1.8.6 and
1.8.7  all the calling conventions were switched from Cdecl to StdCall. 
Could this be causing this?

Thanks!

--
View this message in context:
http://hdf-forum.184993.n3.nabble.com/PInvokeStackImbalance-was-detected-fro
m-HDFDotNet-1-8-7-tp2990766p2990766.html
Sent from the hdf-forum mailing list archive at Nabble.com.

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


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

Reply via email to