Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6923511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:32:41+00:00 2026-05-27T10:32:41+00:00

When I build my project and run game, I get this error always. Unhandled

  • 0

When I build my project and run game, I get this error always.

  Unhandled exception at 0x76fb2073 in Screen.exe: 0xC0000005: Access violation writing location 0x00000338 or sometimes 0x00000000.

When I debug this error, I can see the free.c source file.

…..

        else    //  __active_heap == __SYSTEM_HEAP
#endif  /* _WIN64 */
        {
            retval = HeapFree(_crtheap, 0, pBlock);
            **if (retval == 0)                  // Here, error occured**
            {
                errno = _get_errno_from_oserr(GetLastError());
            }
        }
}

……

When I trace this debug path, I found that error occured on this line on my screen.cpp file.

if(FAILED(D3DXLoadMeshFromX(szName, D3DXMESH_SYSTEMMEM,
        m_pd3dDevice, &pAdjacencyBuffer,
        &pD3DXMtrlBuffer, NULL, &pMesh->dwNumMaterial,
        &pMesh->pMesh)))

I can’t know why this error occur all time when I run this game.

Need your help!

Oh, Yes.

I forgoted one thing.

When I run project by press key-F5, whether it runs on full screen or window mode, game works good.

Only When I press Ctrl + F5, the error occur.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:32:42+00:00Added an answer on May 27, 2026 at 10:32 am

    I’ve solved this problem my self.
    I build my file as debug file.
    Then it works good.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get this build error when I build my iPhone project to run on
I'm getting this error when trying to build a project and run it on
When i am going to run my project i am getting this errorF:\TestProjects\CallDll\CallDll\bin\Debug\CallDll.exe is
I need to run some precompile steps before I build my project using FlexBuilder.
When I try to build my project I get the following message in the
When I build the PlayN project and run the java version, it's behaviour is
Just replaced my XCode 4.0.1 with 4.2. Trying to run the iPhone game project
I have a build project that I run from TeamCity, now it takes the
I’m trying to use Gradle to build a project that will run an imbedded
I'm trying to build an xcode project and run it through the iPhone Simulator

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.