C# binding broken?

Pellaeon <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
Hello,

I use rrdlib 1.4.5 and tried to use the C# binding from the subversion. I
compiled the DebugDLL of the rrdlib and compiled and started the
"dnrrd_binding_test". When reaching the fetch function I get the following
exception: System.AccessViolationException. Any idea? Seems there is an
error in the binding!

First I think the whole calling convention on the binding is wrong! C dlls
use cdecl as standard, Dllimport of C# uses stdcall. But changing the
calling convention in the C# class didn't solve the problem ([DllImport(dll,
CallingConvention = CallingConvention.Cdecl)])

Any ideas, clues? Perhaps there is a bug in the marshalling?

Best regards

Pellaeon

--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/C-binding-broken-tp6275701p6275701.html
Sent from the RRDtool Developers Mailinglist mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.