[Mono-list] P/Invoke question
James Fitzsimons
james.fitzsimons@gmail.com
Thu, 17 Mar 2005 22:33:03 +0000
--=-xazH6PipK+8ExDFxEL8m
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi and thanks to all that helped me with this.
The final solution was:
[StructLayout(LayoutKind.Sequential)]
public struct CvPoint2D32f
{
float x; /* x-coordinate, usually zero-based */
float y; /* y-coordinate, usually zero-based */
}
[DllImport("cv")]
private unsafe static extern int cvFindChessBoardCornerGuesses(
System.IntPtr img, System.IntPtr thresh,=20
System.IntPtr storage, CvSize etalonSize,
[In, Out] CvPoint2D32f[] corners,=20
[In, Out] int* cornerCount );
Thanks again for you help,
James =20
--=20
It's 5.50 a.m.... Do you know where your stack pointer is ?
--=-xazH6PipK+8ExDFxEL8m
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBCOgWUtf4qL6AoafMRApjzAJ94Od77bziAxXkZ7BVfYZEYaGPFnwCg2HF2
XQCT14vl5NBsqwKl/x3tfNM=
=TiRk
-----END PGP SIGNATURE-----
--=-xazH6PipK+8ExDFxEL8m--