Crash when i launch game.

Crash when i launch game.

I'm build the application in:

Windows 7 64bit.

Visual Studios 2012

SDL 1.2.15 | SDL_Image 1.2.12 | SDL_Mixer 1.2.12 | SDL_Ttf 2.0.11.

 

And when complete the complie, and i can start the game application.

But when i create a hero, and enter game world, they crashed.

The crashed point is:

 

/** CPP CODE BEGIN **/

*(Uint32 *)p = pixel; // Utils.cpp(236)

/** CPP CODE END**/

 

Log:

First-chance exception at 0x010E5ECD in FlareRPG.exe: 0xC0000005: Access violation writing location 0x01815A38.

Unhandled exception at 0x010E5ECD in FlareRPG.exe: 0xC0000005: Access violation writing location 0x01815A38.

 

Anybody can help me?