Frozen box?

Can you post all your code, or at least everything related to box2D?

You can use http://pastebin.com/ if there's a lot and you don't want to paste it all here.
Well, here's all the code. I removed the code that was completely irrelevent and replaced it with comments. I also added comments to explain some stuff to you guys. Here goes:

Code:
//All #include statements and - using namespace std - go here

Application      Game;
CollisionManager      Collision;
GraphicsManager      Graphics;

//Functions
void Load();
void Update();
void Draw();

//Timing Data
volatile int SpeedCounter = 0;
void IncrementSpeedCounter();
////////////////////////////////////////////////////////////////////
Sprite Buffer;
Sprite BackGround;

///////////////////////////////////////////////////////////////////
//BOX2D DECLARATIONS
b2Vec2 body_position;
float32 body_rotation;
b2Vec2 ground_position;
float32 ground_rotation;
b2AABB worldAABB;

b2Vec2 gravity(0.0f, 10.0f);
bool doSleep = true;
b2World world(worldAABB, gravity, doSleep);
b2BoxDef groundBoxDef;
b2BodyDef groundBodyDef;
b2Body* ground;
b2BoxDef boxDef;
b2BodyDef bodyDef;
b2Body* body;
float32 timeStep = 1.0f / 60.0f;
int32 iterations = 10;

int main(void)
{
   Graphics.ColorDepth(32);
             //Set graphics to 1024 by 768 in a window
   Graphics.GfxMode(GFX_AUTODETECT_WINDOWED,1024,768);
   Game.InstallMouse();
   Game.InstallKeyboard();
   Game.InstallTimer();
   Game.InstallJoystick();
   Game.InstallSound();

   //Load game components
   Load();

   bool DRAW = false;

   while(! key[KEY_ESC])
   {
      while(SpeedCounter > 0)
      {
         Update();

         SpeedCounter--;
         DRAW = true;
      }

      if(DRAW)
      {
         Draw();
         DRAW = false;
      }
   }

   return 0;
}

// Some Allegro magic to deal with WinMain().
END_OF_MAIN();


void Load()
{
   //Set Interupt Handler for Timing data (run logic at 240 loops per second)
   install_int_ex(IncrementSpeedCounter,BPS_TO_TIMER(240));

   //create the buffer and background objects

   //BOX2D LOAD
   worldAABB.minVertex.Set(-0.0f, -0.0f);
   worldAABB.maxVertex.Set(1024.0f, 768.0f);

   groundBoxDef.extents.Set(25.0f, 25.0f);
   groundBoxDef.density = 0.0f;

   groundBodyDef.position.Set(500.0f, 500.0f);
   groundBodyDef.AddShape(&groundBoxDef);
   ground = world.CreateBody(&groundBodyDef);

   boxDef.extents.Set(25.0f, 25.0f);
   boxDef.density = 1.0f;
   boxDef.friction = 0.0f;

   bodyDef.position.Set(250.0f, 26.0f);
   bodyDef.AddShape(&boxDef);
   body = world.CreateBody(&bodyDef);
   
}


void Update()
{
   world.Step(timeStep, iterations);   

   body_position = body->GetOriginPosition();
   body_rotation = body->GetRotation();
}


void Draw()
{
   //draw the background to the buffer
   //text output the dynamic box position and rotation here using:
             //body_position
             //body_rotation
   //draw the worldAABB rectangle here
   //draw the dynamic box here
   //draw the grounded (static) box here
   //draw the buffer to the screen

}
You need to set the extents on the worldAABB before it's passed in to the b2World constructor.
Yeah, global variables are initialized to zero. So the world AABB sits at the origin with zero width and height.
Well then how do I make the world object global and pass the worldAABB to it after I set the extents?
Before beginning a project with Box2D, I suggest spending some time learning more about C++. This book is a great place to start (it is written by the inventor of C++):

http://www.amazon.com/C%2B%2B-Programming-Language-Special-3rd/dp/0201700735/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1201236276&sr=8-2
I know plenty C++,but the one thing I'm not so good at is variable managment. How do I manage/declare/create the world correctly?
Instead of having a global variable for the world, use a pointer. Then call new when you have the arguments initialized. Then when you are done simulating, call delete.
Success! Thank you guys so much for the help!

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