[ODE] ODE with C#

Jeff Weber jeffreyweber at hotmail.com
Fri Apr 11 06:25:01 2003


Don't have an answer for you but, thought i'd let you know there are a 
couple C# wrappers already out there.  If you look thru the forums you'll 
find them.

I prefer using Managed C++ for the wrapper rather than the dll imports. It 
seems "cleaner" to me.

-jeff


----Original Message Follows----
From: "Dennis Harms" <dennis.harms@equaduct.de>
To: <ode@q12.org>
Subject: [ODE] ODE with C#
Date: Fri, 11 Apr 2003 14:28:27 +0200

Hi everyone,

I'm currently writing a very thin C# wrapper for ODE. Basically it just
does a lot of DLL imports and some marshalling for returning float
arrays. However I've got one big problem: After calling the
dSpaceCollide function I get a NULL reference exception as soon as I
step out of the dNearCallback function. Does anybody have a clue what
could cause a NULL reference exception just after the callback function
finished ?

Thanks,
   Dennis


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus