I was fighting a little bit more with it. Changing the line alone will not work, since in the dependency for dJointLibrary32.dll is newton.dll not as expected newton32.dll. I ended up having the same DLL as newton.dll and as newton32.dll in the SysWOW64 folder. I hope this will help to fix this issue for good.
Hello, I ran in to the same issue. In the end I realized that in the file Import.NGD_Joints.pas the line 40 needs to be changed since it references JointLibraryDLL = 'dJointLibrary.dll'; instead of JointLibraryDLL = 'dJointLibrary32.dll';. Changing this made it working for me.