Can't get motors to work

In my plugin, I can't get motors to do anything at all 🙁
I even tried copying code directly from the motors and limits example, but it didn't work. Is there anything special you have to do to get motors working apart from using this code when creating the joint?
Code:
DLLCMDC int CreateRevoluteJoint(int ID, int Body1ID, int Body2ID, float x, float y)
{
   b2RevoluteJointDef* NewJointDef = new b2RevoluteJointDef();
   NewJointDef->body1 = GetBodyPtr(Body1ID);
   NewJointDef->body2 = GetBodyPtr(Body2ID);
   NewJointDef->anchorPoint.Set(x*Units, y*Units);
   NewJointDef->motorSpeed = 1.0f * b2_pi;
   NewJointDef->motorTorque = 10000000.0f;
   NewJointDef->enableMotor = true;
   return GetJointID(GetWorldPtr(ID)->CreateJoint(NewJointDef));
}
Maybe this is related to your other post. Are the bodies asleep?

Perhaps you should have a debug draw feature that draws sleep bodies differently than awake bodies (like the test-bed).
No, I fixed it now 😀
It was just that due to the scale I was using, the force was 10000 times too small, lol!

Original thread: https://box2d.org/forum/viewtopic.php?t=52