05-22-2005, 05:38 AM
Be sure you are using the right ODE DLL, the .bi file is for the SINGLE DLL's, not for the DOUBLE DLL's, but you could change the "dReal" type from single to double at ode/common.bi to use the DOUBLE version though.
Using the wrong DLL will cause an exception, as the wrong types will be pushed to stack. As ODE uses the C convention, the function names will be the same, so you can't detect the error at link-time - that would be clear if functions were using the standard-call convention.
Using the wrong DLL will cause an exception, as the wrong types will be pushed to stack. As ODE uses the C convention, the function names will be the same, so you can't detect the error at link-time - that would be clear if functions were using the standard-call convention.
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php