Skip to content

Exception thrown at 0x00007FF785B2B8DD in Synth.exe: 0xC0000005: Access violation writing location 0x00000000BA2FF8EC. #9

Description

@MTHolbert

I keep getting this Exception every time I run the code block, the sound plays through for a second before getting cut off by the exception.
I'm running on Visual Studio Community 2019.
I went through the debugger and it seems that m_nBlockFree loses it's value or becomes garbage when waveOutProcWrap is called. And when waveOutProc is called and it reaches the m_nBlockFree++; line , the atomic exception handler for the overloaded operator++ is thrown, stating: Exception thrown at 0x00007FF785B2B8DD in Synth.exe: 0xC0000005: Access violation writing location 0x00000000BA2FF8EC.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions